We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ec0ce9 commit 6f3cb18Copy full SHA for 6f3cb18
.github/workflows/nightly.yml
@@ -19,11 +19,14 @@ jobs:
19
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
20
- name: Compile
21
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
25
- name: Release
26
uses: softprops/action-gh-release@v2
27
with:
28
tag_name: nightly-${{ github.sha }}
- name: Nightly Build ${GITHUB_SHA::7}
29
+ name: Nightly Build ${{ steps.vars.outputs.sha_short }}
30
files: |
31
./zig-out/bin/zigdemu
32
./zig-out/bin/zigd
0 commit comments