Skip to content

use tags for easier PR testing #49

use tags for easier PR testing

use tags for easier PR testing #49

name: run-cache-result-action
on: push
# edge should point to master or a branch commit to verify
# that a change is valid before merging.
jobs:
check-sha-result:
runs-on: ubuntu-latest
outputs:
result: ${{ steps.restore-cache.outputs.result }}
optional-result: ${{ steps.restore-secondary-cache.outputs.result }}
steps:
- id: restore-cache
uses: parallel-markets/cache-result-action@edge
- id: restore-secondary-cache
uses: parallel-markets/cache-result-action@edge
with:
cache-group: optional
test:
needs: check-sha-result
runs-on: ubuntu-latest
steps:
- uses: parallel-markets/cache-result-action@edge
with:
result: success
optional-test:
needs: check-sha-result
runs-on: ubuntu-latest
steps:
- uses: parallel-markets/cache-result-action@edge
with:
result: success
cache-group: optional