Skip to content

Commit

Permalink
bugfix in release workflow #1
Browse files Browse the repository at this point in the history
  • Loading branch information
tjira committed Dec 24, 2024
1 parent 8306cb8 commit 8b71bf6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8b71bf6

Please sign in to comment.