Skip to content

Commit 6f3cb18

Browse files
authored
FINALLY THE WORKFLOW WORKS
1 parent 9ec0ce9 commit 6f3cb18

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/nightly.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ jobs:
1919
run: wget https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz && tar -xvf zig-linux-x86_64-0.13.0.tar.xz
2020
- name: Compile
2121
run: ./zig-linux-x86_64-0.13.0/zig build -Doptimize=ReleaseFast -Dcpu=baseline
22+
- name: Compute Short SHA
23+
id: vars
24+
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
2225
- name: Release
2326
uses: softprops/action-gh-release@v2
2427
with:
2528
tag_name: nightly-${{ github.sha }}
26-
name: Nightly Build ${GITHUB_SHA::7}
29+
name: Nightly Build ${{ steps.vars.outputs.sha_short }}
2730
files: |
2831
./zig-out/bin/zigdemu
2932
./zig-out/bin/zigd

0 commit comments

Comments
 (0)