From 8b71bf6fc016d68fd178396c5432316685bcb025 Mon Sep 17 00:00:00 2001 From: Tomas Jira Date: Tue, 24 Dec 2024 22:00:52 +0100 Subject: [PATCH] bugfix in release workflow #1 --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c29c35..c775b00 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,12 +8,9 @@ on: permissions: contents: write -env: - BUILD_TYPE: Release - jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -25,7 +22,10 @@ jobs: run: ./bin/zig build --release=fast --summary all - name: Rename Binaries - run: cd zig-out && for FOLDER in *; do mv $FOLDER/acorn $FOLDER/acorn-$FOLDER; done + run: | + cd zig-out && for FOLDER in *linux; do mv $FOLDER/acorn $FOLDER/acorn-$FOLDER; done + cd zig-out && for FOLDER in *macos; do mv $FOLDER/acorn $FOLDER/acorn-$FOLDER; done + cd zig-out && for FOLDER in *windows; do mv $FOLDER/acorn.exe $FOLDER/acorn-$FOLDER.exe; done - name: Upload Artifacts uses: actions/upload-artifact@v4