This commit is contained in:
@@ -30,13 +30,16 @@ jobs:
|
|||||||
uses: jacobtomlinson/gha-find-replace@v3
|
uses: jacobtomlinson/gha-find-replace@v3
|
||||||
with:
|
with:
|
||||||
find: "{{branch}}"
|
find: "{{branch}}"
|
||||||
replace: ${{ github.ref }}
|
replace: ${{ github.ref_name }}
|
||||||
include: "on-site-vtt/module.json"
|
include: "on-site-vtt/module.json"
|
||||||
- name: Pack and release
|
- name: Pack archive
|
||||||
uses: https://gitea.com/actions/release-action@main
|
uses: montudor/action-zip@v1
|
||||||
with:
|
with:
|
||||||
title: dev-${{ steps.date.outputs.date }}-${{ github.run_number }}
|
args: zip -qq -r on-site-vtt.zip on-site-vtt
|
||||||
pre_release: true
|
- name: publish release
|
||||||
|
uses: ncipollo/release-action@v1
|
||||||
|
with:
|
||||||
|
tag: dev-${{ steps.date.outputs.date }}-${{ github.run_number }}
|
||||||
|
prerelease: true
|
||||||
api_key: "${{secrets.RELEASE_TOKEN}}"
|
api_key: "${{secrets.RELEASE_TOKEN}}"
|
||||||
files: |-
|
artifacts: on-site-vtt.zip
|
||||||
on-site-vtt/**
|
|
||||||
|
|||||||
Reference in New Issue
Block a user