Skip to content

Commit

Permalink
Fix amd64 binary
Browse files Browse the repository at this point in the history
  • Loading branch information
leeren committed Aug 16, 2024
1 parent e2c1acc commit 0927deb
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/ci-geth-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@ jobs:
binary_name+='.exe'
fi
# For linux amd64 upload the binary for internal testing
if [ "${{ matrix.platform }}" = "linux-amd64" ]; then
echo "Uploading binary for internal use..."
aws s3 cp binary_name s3://iliad-geth-binaries/geth/geth-$VERSION --quiet
# Update manifest file for linux-amd64 builds only
aws s3 cp s3://iliad-geth-binaries/geth/manifest.txt manifest.txt --quiet || touch manifest.txt
echo $ARCHIVE_NAME >> manifest.txt
aws s3 cp manifest.txt s3://iliad-geth-binaries/geth/manifest.txt --quiet
fi
mkdir $FOLDER_NAME
mv $binary_name $FOLDER_NAME/
Expand All @@ -96,17 +108,6 @@ jobs:
exit 1
fi
if [ "${{ matrix.platform }}" = "linux-amd64" ]; then
echo "Uploading binary for internal use..."
aws s3 cp binary_name s3://iliad-geth-binaries/geth/geth-$VERSION --quiet
# Update manifest file for linux-amd64 builds only
aws s3 cp s3://iliad-geth-binaries/geth/manifest.txt manifest.txt --quiet || touch manifest.txt
echo $ARCHIVE_NAME >> manifest.txt
aws s3 cp manifest.txt s3://iliad-geth-binaries/geth/manifest.txt --quiet
fi
cleanup:
runs-on: ubuntu-latest
needs: build_and_push
Expand Down

0 comments on commit 0927deb

Please sign in to comment.