Skip to content

Commit

Permalink
fix for arm64 release
Browse files Browse the repository at this point in the history
  • Loading branch information
madneal committed Nov 19, 2023
1 parent 54911a2 commit 50f7cb5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,22 @@ jobs:
- name: Mkdir
run: |
mkdir -p release/gshark_darwin_amd64 && mkdir -p release/gshark_windows_amd64 &&
mkdir -p release/gshark_linux_amd64
mkdir -p release/gshark_linux_amd64 && mkdir -p release/gshark_darwin_arm64
- name: Move config
run: |
cp ./server/config-temp.yaml ./release/gshark_darwin_amd64/ && cp ./server/config-temp.yaml ./release/gshark_windows_amd64/ &&
cp ./server/config-temp.yaml ./release/gshark_linux_amd64/
cp ./server/config-temp.yaml ./release/gshark_linux_amd64/ && cp ./server/config-temp.yaml ./release/gshark_darwin_arm64/
- name: Move resource
run: |
cp -rf ./server/resource ./release/gshark_darwin_amd64/ && cp -rf ./server/resource ./release/gshark_windows_amd64/ &&
cp -rf ./server/resource ./release/gshark_linux_amd64/
cp -rf ./server/resource ./release/gshark_linux_amd64/ && cp -rf ./server/resource ./release/gshark_darwin_arm64/
- name: Copy dist
run: |
cp -rf ./web/dist ./release/gshark_darwin_amd64/ && cp -rf ./web/dist ./release/gshark_windows_amd64/ &&
cp -rf ./web/dist ./release/gshark_linux_amd64/
cp -rf ./web/dist ./release/gshark_linux_amd64/ && cp -rf ./web/dist ./release/gshark_darwin_arm64/
- name: Go Setup
uses: actions/[email protected]
Expand Down

0 comments on commit 50f7cb5

Please sign in to comment.