Skip to content

Commit

Permalink
rename artifacts and avoid conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
AurelienFT committed Feb 4, 2025
1 parent ae63e62 commit a7ce530
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/create-binary-high-tps-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,9 @@ jobs:
PLATFORM_NAME: ${{ matrix.job.platform }}
TARGET: ${{ matrix.job.target }}
run: |
# trim refs/tags/ prefix
FUEL_CORE_VERSION="${GITHUB_REF#refs/tags/}"
# optionally trim v from tag prefix
FUEL_CORE_VERSION="${FUEL_CORE_VERSION#v}"
echo "version is: $FUEL_CORE_VERSION"
# setup artifact filename
ARTIFACT="fuel-core-$FUEL_CORE_VERSION-${{ env.TARGET }}"
ZIP_FILE_NAME="high_tps_bench.tar.gz"
ARTIFACT="ben-high-tps-${{ matrix.job.target }}"
ZIP_FILE_NAME="high_tps_bench-${{ matrix.job.target }}-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}.tar.gz"
echo "ZIP_FILE_NAME=$ZIP_FILE_NAME" >> $GITHUB_ENV
# create zip file
mkdir -pv "$ARTIFACT"
Expand Down

0 comments on commit a7ce530

Please sign in to comment.