File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change 6
6
type : boolean
7
7
concurrency : ${{ github.workflow }}
8
8
jobs :
9
- tagver :
10
- outputs :
11
- tagver : ${{ steps.tagver.outputs.tagver }}
12
- runs-on : ubuntu-latest
13
- steps :
14
- - uses : actions/checkout@v4
15
- - id : tagver
16
- run : |
17
- tagver=$(grep -Po 'TAGVER=\S+' script | head -n1 | cut -d'=' -f2)
18
- echo "tagver=$tagver" >> "$GITHUB_OUTPUT"
19
9
create-release :
20
- needs : tagver
21
10
permissions :
22
11
contents : write
23
12
runs-on : ubuntu-latest
26
15
- uses : bjia56/setup-cosmocc@v0.0.3
27
16
# This fakes the from-source build outputs. Building from Zig source takes way too long.
28
17
- env :
29
- TAGVER : ${{ needs.tagver.outputs.tagver }}
18
+ TAGVER : " 0.13.0 "
30
19
run : |
31
20
wget "https://ziglang.org/download/$TAGVER/zig-windows-x86_64-$TAGVER.zip"
32
21
wget "https://ziglang.org/download/$TAGVER/zig-windows-aarch64-$TAGVER.zip"
@@ -52,14 +41,14 @@ jobs:
52
41
rm "zig-linux-aarch64-$TAGVER.tar.xz"
53
42
rm "zig-freebsd-x86_64-$TAGVER.tar.xz"
54
43
- env :
55
- TAGVER : ${{ needs.tagver.outputs.tagver }}
44
+ TAGVER : " 0.13.0 "
56
45
run : ./build-zig-ape
57
46
- env :
58
- TAGVER : ${{ needs.tagver.outputs.tagver }}
47
+ TAGVER : " 0.13.0 "
59
48
run : 7z a zig-ape-$TAGVER.zip zig-ape-$TAGVER/
60
49
- env :
61
50
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62
- TAGVER : ${{ needs.tagver.outputs.tagver }}
51
+ TAGVER : " 0.13.0 "
63
52
run : |
64
53
gh release create "$TAGVER" \
65
54
${{ (inputs.draft && '--draft') || '' }} \
You can’t perform that action at this time.
0 commit comments