Skip to content

Commit

Permalink
Add ref
Browse files Browse the repository at this point in the history
  • Loading branch information
non-det-alle committed Mar 21, 2024
1 parent 98cea90 commit 89f2c8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ runs:
name: "Store tests placeholder"
uses: actions/cache/save@v4
with:
key: ${{ format('tests-{0}-{1}-{2}', env.BUILD_ID, env.GITHUB_REF_NAME, env.NOW) }}
key: ${{ format('tests-{0}-{1}-{2}', env.BUILD_ID, github.ref_name, env.NOW) }}
path: build/tests-*.txt
# Post-build steps
#- if: inputs.store-artifacts == 'true'
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ runs:
- name: "Restore tests placeholder"
uses: actions/cache/restore@v4
with:
key: ${{ format('tests-{0}-{1}-', env.BUILD_ID, env.GITHUB_REF_NAME) }}
restore-keys: ${{ format('tests-{0}-{1}-', env.BUILD_ID, env.GITHUB_REF_NAME) }}
key: ${{ format('tests-{0}-{1}-', env.BUILD_ID, github.ref_name) }}
restore-keys: ${{ format('tests-{0}-{1}-', env.BUILD_ID, github.ref_name) }}
path: build/tests-*.txt
- run: ls -al build/ | grep tests
shell: bash
Expand All @@ -27,5 +27,5 @@ runs:
- name: "Update tests placeholder"
uses: actions/cache/save@v4
with:
key: ${{ format('tests-{0}-{1}-{2}', env.BUILD_ID, env.GITHUB_REF_NAME, env.NOW) }}
key: ${{ format('tests-{0}-{1}-{2}', env.BUILD_ID, github.ref_name, env.NOW) }}
path: build/tests-*.txt

0 comments on commit 89f2c8a

Please sign in to comment.