Commit 35bcaee 1 parent c64437d commit 35bcaee Copy full SHA for 35bcaee
File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,23 @@ jobs:
29
29
- os : windows-latest
30
30
target : x86_64-windows
31
31
runs-on : ${{ matrix.os }}
32
+ env :
33
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34
+ PR_NUMBER : ${{ github.event.number }}
35
+
32
36
steps :
33
37
- uses : actions/checkout@v2
34
38
- uses : goto-bus-stop/setup-zig@v2
35
39
name : Setup zig
36
40
with :
37
41
version : 0.12.0
42
+
43
+ - name : " 🏷️ Push tag"
44
+ uses : EndBug/latest-tag@latest
45
+ with :
46
+ # You can change the name of the tag with this input.
47
+ # Default: 'latest'
48
+ tag-name : ${{env.PR_NUMBER}}
38
49
39
50
- name : Install dependencies (Ubuntu)
40
51
if : matrix.os == 'ubuntu-latest'
52
63
53
64
- name : Release
54
65
uses : softprops/action-gh-release@v1
55
- # if: startsWith(github.ref, 'refs/tags/')
66
+ if : startsWith(github.ref, 'refs/tags/')
56
67
with :
57
68
files : |
58
69
zig-out/bin/*
59
- env :
60
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments