Skip to content

Commit

Permalink
main.yml updated
Browse files Browse the repository at this point in the history
  • Loading branch information
r4gus committed Mar 9, 2024
1 parent fbcac61 commit 18a1ffc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@ jobs:
version: 0.11.0
- run: zig fmt --check src/*.zig
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.11.0
- run: |
export VERSION="$(cat build.zig.zon | grep -o -E '\b[0-9]+\.[0-9]+\.[0-9]+\b')"
sudo apt install libgtk-3-0 libgtk-3-dev
zig build -Doptimize=ReleaseSmall
echo "${{ env.Version }}"
cp zig-out/bin/zigenity "zigenity-${VERSION}-x86_64"
- name: Release
run: |
export VERSION="$(cat build.zig.zon | grep -o -E '\b[0-9]+\.[0-9]+\.[0-9]+\b')"
Expand Down

0 comments on commit 18a1ffc

Please sign in to comment.