Skip to content

Commit

Permalink
Update build-darwin-arm64.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LizJeong authored Jul 18, 2024
1 parent cafe07a commit 5dbce70
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-darwin-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,15 @@ jobs:
&& cp ~/go/pkg/mod/github.com/initia-labs/movevm@"$MOVEVM_VERSION"/api/libmovevm.dylib ./ \
&& cp ~/go/pkg/mod/github.com/initia-labs/movevm@"$MOVEVM_VERSION"/api/libcompiler.dylib ./ \
&& tar -czvf initia_"$VERSION"_Darwin_"$ARCH_NAME".tar.gz initiad libmovevm.dylib libcompiler.dylib \
&& mkdir -p ../../networks/"$L1_NETWORK_NAME"/binaries/ \
&& mv ./initia_"$VERSION"_Darwin_"$ARCH_NAME".tar.gz ../../networks/"$L1_NETWORK_NAME"/binaries/ \
&& mv ../../networks/"$L1_NETWORK_NAME"/binaries/initia_"$VERSION"_Darwin_"$ARCH_NAME".tar.gz ./ \
&& mv ./initia_"$VERSION"_Darwin_"$ARCH_NAME".tar.gz ../../initia_"$VERSION"_Darwin_"$ARCH_NAME".tar.gz \
&& ls -al ../../
&& rm -rf ./libmovevm.dylib ./libcompiler.dylib ./initiad
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
./initia_${{ env.VERSION }}_Darwin_${{ env.ARCH_NAME }}.tar.gz
../../initia_${{ env.VERSION }}_Darwin_${{ env.ARCH_NAME }}.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 5dbce70

Please sign in to comment.