Skip to content

Commit

Permalink
Merge pull request #4 from aixcc-finals/fix-cache-naming
Browse files Browse the repository at this point in the history
Fix image cache naming differences on release
  • Loading branch information
authwait authored Feb 13, 2025
2 parents d17b55c + ee5be4f commit 4c2a141
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build_and_upload_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
- name: Build and upload based on release cache, update cache
if: github.event_name == 'push'
run: |
infra/base-images/aixcc_build_all.sh --cache-to "${{ github.ref }}" "${{ github.sha }}"
BRANCH_NAME="${{ github.ref }}"
infra/base-images/aixcc_build_all.sh --cache-to "${BRANCH_NAME#refs/heads/}" "${{ github.sha }}"
- name: Build and upload based on release cache, no cache update
if: github.event_name == 'pull_request'
Expand Down

0 comments on commit 4c2a141

Please sign in to comment.