Skip to content

Commit

Permalink
Update build-linux-arm64.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LizJeong authored Jul 17, 2024
1 parent 944d774 commit 58157e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-linux-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ jobs:
env:
GCS_BUCKET: ${{ secrets.GCS_BUCKET }}
run: |
if [ -f ./initia_${VERSION}_Linux_${GOARCH}.tar.gz ]; then
gsutil cp ./initia_${VERSION}_Linux_${GOARCH}.tar.gz gs://${GCS_BUCKET}/initia/
if [ -f ./initia_${VERSION}_Linux_${ARCH_NAME}.tar.gz ]; then
gsutil cp ./initia_${VERSION}_Linux_${ARCH_NAME}.tar.gz gs://${GCS_BUCKET}/initia/
else
echo "Build artifact not found"
exit 1
Expand All @@ -113,9 +113,9 @@ jobs:
env:
GCS_BUCKET: ${{ secrets.GCS_BUCKET }}
run: |
if gsutil stat gs://${GCS_BUCKET}/initia/initia_${VERSION}_Linux_${GOARCH}.tar.gz; then
if gsutil stat gs://${GCS_BUCKET}/initia/initia_${VERSION}_Linux_${ARCH_NAME}.tar.gz; then
echo "File successfully uploaded"
echo "Public URL: https://storage.googleapis.com/${GCS_BUCKET}/initia/initia_${VERSION}_Linux_${GOARCH}.tar.gz" >> $GITHUB_STEP_SUMMARY
echo "Public URL: https://storage.googleapis.com/${GCS_BUCKET}/initia/initia_${VERSION}_Linux_${ARCH_NAME}.tar.gz" >> $GITHUB_STEP_SUMMARY
else
echo "File upload failed"
exit 1
Expand Down

0 comments on commit 58157e1

Please sign in to comment.