Skip to content

Commit

Permalink
make Windows and OSX standalone apps executable
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetophon committed May 6, 2024
1 parent 27c0671 commit d8983c3
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,22 @@ jobs:
mv target/bundled/* "$ARCHIVE_NAME/$ARCHIVE_NAME"
- name: Add an OS-specific readme file with installation instructions
run: cp ".github/workflows/readme-${{ runner.os }}.txt" "$ARCHIVE_NAME/$ARCHIVE_NAME/README.txt"
- uses: actions/upload-artifact@v4
- name: Make the OSX standalone app executable
if: startsWith(matrix.os, 'macos')
run: |
chmod=+x "$ARCHIVE_NAME/$ARCHIVE_NAME/lamb.app/Contents/MacOS/lamb"
- name: Make the windows standalone app executable
if: startsWith(matrix.os, 'windows')
run: |
git update-index --chmod=+x "$ARCHIVE_NAME/$ARCHIVE_NAME/lamb.exe"
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARCHIVE_NAME }}
path: ${{ env.ARCHIVE_NAME }}

- name: zip files
- name: Zip files
uses: vimtor/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
Expand Down

0 comments on commit d8983c3

Please sign in to comment.