Skip to content

Commit

Permalink
use dir stack instead of cd
Browse files Browse the repository at this point in the history
  • Loading branch information
Vritra4 committed Oct 28, 2024
1 parent e4c4452 commit 6619988
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-linux-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,24 @@ jobs:
export GOARCH=${GOARCH}
export GOOS=${GOOS}
make build-linux-with-shared-library
cd ./build
pushd build
mkdir -p initia_${VERSION}
mv libmovevm.so initia_${VERSION}/libmovevm.${ARCH_NAME}.so
mv libcompiler.so initia_${VERSION}/libcompiler.${ARCH_NAME}.so
mv initiad initia_${VERSION}/
tar -czvf initia_${VERSION}_Linux_${ARCH_NAME}.tar.gz initia_${VERSION}
popd
- name: Static Build for Linux AMD64
run: |
export GOARCH=${GOARCH}
export GOOS=${GOOS}
make build-linux
cd ./build
pushd build
mkdir -p initia_${VERSION}
mv initiad initia_${VERSION}/
tar -czvf initia_${VERSION}_Linux_${ARCH_NAME}_static.tar.gz initia_${VERSION}
popd
- name: Release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 6619988

Please sign in to comment.