Skip to content

Commit

Permalink
fix: fix cache naming
Browse files Browse the repository at this point in the history
  • Loading branch information
mikirov committed Jul 31, 2023
1 parent afb4893 commit b691302
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@ jobs:
if [ "${{ steps.polkadot-binary-release-tag.outputs.tag }}" != "$CACHED_RELEASE" ]; then
echo "${{ steps.polkadot-binary-release-tag.outputs.tag }}" > latest_release_polkadot.txt
echo "::set-output name=new_release::true"
echo "new_release=true >> $GITHUB_OUTPUT"
fi
- name: Cache latest Polkadot binary release tag
uses: actions/cache@v3
with:
path: latest_release_polkadot.txt
key: ${{ steps.polkadot-binary-release-tag.outputs.tag }}
key: latest_release_polkadot.txt

check-cumulus:
runs-on: ubuntu-latest
outputs:
Expand All @@ -66,14 +67,14 @@ jobs:
if [ "${{ steps.cumulus-binary-release-tag.outputs.tag }}" != "$CACHED_RELEASE" ]; then
echo "${{ steps.cumulus-binary-release-tag.outputs.tag }}" > latest_release_cumulus.txt
echo "::set-output name=new_release::true"
echo "new_release=true >> $GITHUB_OUTPUT"
fi
- name: Cache latest Cumulus binary release tag
uses: actions/cache@v3
with:
path: latest_release_cumulus.txt
key: ${{ steps.cumulus-binary-release-tag.outputs.tag }}
key: latest_release_cumulus.txt

check-cumulus-wasm:
runs-on: ubuntu-latest
Expand All @@ -100,14 +101,14 @@ jobs:
if [ "${{ steps.cumulus-wasm-release-tag.outputs.tag }}" != "$CACHED_RELEASE" ]; then
echo "${{ steps.cumulus-wasm-release-tag.outputs.tag }}" > latest_release_cumulus_wasm.txt
echo "::set-output name=new_release::true"
echo "new_release=true >> $GITHUB_OUTPUT"
fi
- name: Cache latest Cumulus wasm release tag
uses: actions/cache@v3
with:
path: latest_release_cumulus_wasm.txt
key: ${{ steps.cumulus-wasm-release-tag.outputs.tag }}
key: latest_release_cumulus_wasm.txt

check-kagome:
runs-on: ubuntu-latest
Expand All @@ -131,14 +132,14 @@ jobs:
if [ "${{ steps.kagome-release-tag.outputs.tag }}" != "$CACHED_RELEASE" ]; then
echo "${{ steps.kagome-release-tag.outputs.tag }}" > latest_release_kagome.txt
echo "::set-output name=new_release::true"
echo "new_release=true >> $GITHUB_OUTPUT"
fi
- name: Cache latest release
uses: actions/cache@v3
with:
path: latest_release_kagome.txt
key: ${{ steps.kagome-release-tag.outputs.tag }}
key: latest_release_kagome.txt

check-zombienet:
runs-on: ubuntu-latest
Expand All @@ -163,9 +164,15 @@ jobs:
if [ "${{ steps.zombienet-release-tag.outputs.tag }}" != "$CACHED_RELEASE" ]; then
echo "${{ steps.zombienet-release-tag.outputs.tag }}" > latest_release_zombienet.txt
echo "::set-output name=new_release::true"
echo "new_release=true >> $GITHUB_OUTPUT"
fi
- name: Cache latest release
uses: actions/cache@v3
with:
path: latest_release_zombienet.txt
key: latest_release_zombienet.txt


fetch-zombienet:
runs-on: ubuntu-latest
Expand Down

0 comments on commit b691302

Please sign in to comment.