Skip to content

Commit

Permalink
[ci] Fix permissions for universal mac binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
tobil4sk committed Jun 30, 2024
1 parent de991b6 commit a58c2ba
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ jobs:
env:
INPUT_AMD64: mac-static-amd64-binaries
INPUT_ARM64: mac-static-arm64-binaries
OUTPUT: mac-static-universal-binaries

steps:
- name: Download ${{ env.INPUT_AMD64 }}
Expand All @@ -246,6 +245,9 @@ jobs:

- name: Create universal binaries
run: |
tar_filename_amd64=$(basename $INPUT_AMD64/neko-*-osx64.tar.gz .tar.gz)
OUTPUT=${tar_filename_amd64/osx64/osx-universal}
mkdir $OUTPUT
# put amd64 files straight into output to make sure all non-binary files are also included
Expand All @@ -261,12 +263,13 @@ jobs:
done
file $OUTPUT/*
tar -czvf $OUTPUT.tar.gz $OUTPUT
- name: Upload universal binaries
uses: actions/upload-artifact@v4
with:
name: ${{ env.OUTPUT }}
path: ${{ env.OUTPUT }}
name: mac-static-universal-binaries
path: neko-*-osx-universal.tar.gz

deploy-s3:
name: deploy s3
Expand Down

0 comments on commit a58c2ba

Please sign in to comment.