Skip to content

Commit

Permalink
use tags for easier PR testing
Browse files Browse the repository at this point in the history
  • Loading branch information
nonrational committed Feb 20, 2024
1 parent 64781de commit b8dc7a2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/run-cache-result-action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
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
Expand All @@ -9,26 +12,26 @@ jobs:
optional-result: ${{ steps.restore-secondary-cache.outputs.result }}
steps:
- id: restore-cache
uses: parallel-markets/cache-result-action@a1e2c3ccc1be6464c4d571ff2932d6b6c9ae3e3d
uses: parallel-markets/cache-result-action@edge

- id: restore-secondary-cache
uses: parallel-markets/cache-result-action@a1e2c3ccc1be6464c4d571ff2932d6b6c9ae3e3d
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@a1e2c3ccc1be6464c4d571ff2932d6b6c9ae3e3d
- 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@a1e2c3ccc1be6464c4d571ff2932d6b6c9ae3e3d
- uses: parallel-markets/cache-result-action@edge
with:
result: success
cache-group: optional

0 comments on commit b8dc7a2

Please sign in to comment.