Skip to content

Commit

Permalink
Set execution permission on binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscoadasme committed Dec 17, 2024
1 parent 671f824 commit 7b89437
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
crystal build --static --release \
-o bin/moltiverse-${GITHUB_REF_SLUG}-linux-${ARCH} \
src/moltiverse.cr
chmod +x ./bin/moltiverse-${GITHUB_REF_SLUG}-linux-${ARCH}
gzip ./bin/moltiverse-${GITHUB_REF_SLUG}-linux-${ARCH}
- if: startsWith(matrix.os, 'macos')
name: Build binary (macOS)
Expand All @@ -51,6 +52,7 @@ jobs:
crystal build --release \
-o bin/moltiverse-${GITHUB_REF_SLUG}-osx-${ARCH} \
src/moltiverse.cr
chmod +x ./bin/moltiverse-${GITHUB_REF_SLUG}-osx-${ARCH}
zip -rjX ./bin/moltiverse-${GITHUB_REF_SLUG}-osx-${ARCH}.zip \
./bin/moltiverse-${GITHUB_REF_SLUG}-osx-${ARCH}
- name: Upload artifacts
Expand Down

0 comments on commit 7b89437

Please sign in to comment.