Skip to content

Commit 9ea1361

Browse files
committed
whoopsie
1 parent df024a5 commit 9ea1361

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313

1414
permissions:
1515
contents: write
16+
17+
env:
18+
TAG_NAME: nightly-${{ github.run_number }}
1619

1720
jobs:
1821
ensure-tag:
@@ -33,8 +36,8 @@ jobs:
3336
run: |
3437
git config --global user.name "${{ github.actor }}"
3538
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
36-
git tag ${{ steps.tagger.outputs.tag_name }}
37-
git push origin ${{ steps.tagger.outputs.tag_name }}
39+
git tag ${{ env.TAG_NAME }}
40+
git push origin ${{ env.TAG_NAME }}
3841
3942
build:
4043
name: Build Artifacts
@@ -63,7 +66,7 @@ jobs:
6366
uses: svenstaro/[email protected]
6467
with:
6568
repo_token: ${{ secrets.GITHUB_TOKEN }}
66-
tag: ${{ github.event.inputs.tag }}
69+
tag: ${{ env.TAG_NAME }}
6770
file: linuxBuild.zip
6871
asset_name: FNF-JS-Engine-linux.zip
6972
prerelease: ${{ github.event.inputs.prerelease == 'true' }}
@@ -89,7 +92,7 @@ jobs:
8992
uses: svenstaro/[email protected]
9093
with:
9194
repo_token: ${{ secrets.GITHUB_TOKEN }}
92-
tag: ${{ github.event.inputs.tag }}
95+
tag: ${{ env.TAG_NAME }}
9396
file: windowsBuild.zip
9497
asset_name: FNF-JS-Engine-windows.zip
9598
prerelease: ${{ github.event.inputs.prerelease == 'true' }}
@@ -127,7 +130,7 @@ jobs:
127130
uses: svenstaro/[email protected]
128131
with:
129132
repo_token: ${{ secrets.GITHUB_TOKEN }}
130-
tag: ${{ github.event.inputs.tag }}
133+
tag: ${{ env.TAG_NAME }}
131134
file: macBuild-intel.zip
132135
asset_name: FNF-JS-Engine-macOS-Intel.zip
133136
prerelease: ${{ github.event.inputs.prerelease == 'true' }}
@@ -137,7 +140,7 @@ jobs:
137140
uses: svenstaro/[email protected]
138141
with:
139142
repo_token: ${{ secrets.GITHUB_TOKEN }}
140-
tag: ${{ github.event.inputs.tag }}
143+
tag: ${{ env.TAG_NAME }}
141144
file: macBuild-arm.zip
142145
asset_name: FNF-JS-Engine-macOS-ARM.zip
143146
prerelease: ${{ github.event.inputs.prerelease == 'true' }}

0 commit comments

Comments
 (0)