Skip to content

Commit 040d36d

Browse files
authored
Merge pull request #114 from Polari-Stars-MC/baka4n-patch-1
Update build.yml
2 parents 73d4a9c + 3131341 commit 040d36d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ name: Build Release
55

66
on : [push, pull_request]
77

8+
env:
9+
## set env
10+
git_sha: ${{github.sha}}
11+
812
jobs:
913
build:
1014
runs-on: ubuntu-latest
@@ -45,6 +49,6 @@ jobs:
4549
- name: Upload binaries to release
4650
uses: actions/upload-artifact@v4
4751
with:
48-
name: wild_wind-${{steps.version.outputs.value}}.jar
52+
name: wild_wind-${{steps.version.outputs.value}}-${{github.sha}}.jar
4953
path: build/libs/wild_wind-${{steps.version.outputs.value}}.jar
50-
repo-token: ${{ secrets.ACTION_TOKEN }}
54+
repo-token: ${{ secrets.ACTION_TOKEN }}

0 commit comments

Comments
 (0)