seperate packing
All checks were successful
On-Site VTT - Develop / build (push) Successful in 1m23s
All checks were successful
On-Site VTT - Develop / build (push) Successful in 1m23s
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
|||||||
go-version: '1.20'
|
go-version: '1.20'
|
||||||
- name: Get current date
|
- name: Get current date
|
||||||
id: date
|
id: date
|
||||||
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
|
run: echo "::set-output name=date::$(date +'%Y-%m-%d_%H-%M-%S')"
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
uses: jacobtomlinson/gha-find-replace@v3
|
uses: jacobtomlinson/gha-find-replace@v3
|
||||||
with:
|
with:
|
||||||
find: "{{version}}"
|
find: "{{version}}"
|
||||||
replace: dev-${{ steps.date.outputs.date }}-${{ github.run_number }}
|
replace: dev-${{ steps.date.outputs.date }}
|
||||||
include: "on-site-vtt/module.json"
|
include: "on-site-vtt/module.json"
|
||||||
- name: Replace branch in module.json
|
- name: Replace branch in module.json
|
||||||
uses: jacobtomlinson/gha-find-replace@v3
|
uses: jacobtomlinson/gha-find-replace@v3
|
||||||
@@ -39,7 +39,7 @@ jobs:
|
|||||||
- name: publish release
|
- name: publish release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
tag: dev-${{ steps.date.outputs.date }}-${{ github.run_number }}
|
tag: dev-${{ steps.date.outputs.date }}
|
||||||
prerelease: true
|
prerelease: true
|
||||||
api_key: "${{secrets.RELEASE_TOKEN}}"
|
api_key: "${{secrets.RELEASE_TOKEN}}"
|
||||||
artifacts: on-site-vtt.zip
|
artifacts: on-site-vtt.zip
|
||||||
|
|||||||
Reference in New Issue
Block a user