Skip to content

Commit

Permalink
log download
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Jan 3, 2025
1 parent 9ce1c07 commit d2555f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,22 +80,23 @@ jobs:
- name: Upload wheel sizes artifact (main only)
if: github.ref_name == 'main'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheel-size
path: |
echo "$GITHUB_RUN_ID $WHEEL_SIZE" > wheel_sizes.txt
wheel_sizes.txt
- name: Download main wheel size
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: wheel-size
continue-on-error: true

- name: Extract previous wheel size
id: load_previous_size
run: |
ls -R
if [[ -f wheel_sizes.txt ]]; then
PREVIOUS_WHEEL_SIZE=$(tail -n 1 wheel_sizes.txt | awk '{ print $2 }')
echo "PREVIOUS_WHEEL_SIZE=$PREVIOUS_WHEEL_SIZE" >> $GITHUB_ENV
Expand Down

0 comments on commit d2555f4

Please sign in to comment.