Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsManta committed Oct 19, 2023
1 parent 79bcdcf commit ee96948
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ jobs:
success:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout
- uses: actions/checkout@v3

- uses: taskworld/job-cache-action
- uses: ./
id: cache
with:
cache-key: success-${{ github.run_number }}
Expand All @@ -17,9 +17,9 @@ jobs:
failure:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout
- uses: actions/checkout@v3

- uses: taskworld/job-cache-action
- uses: ./
id: cache
with:
cache-key: failure-${{ github.run_number }}
Expand All @@ -30,9 +30,9 @@ jobs:
runs-on: ubuntu-latest
needs: success
steps:
- uses: actions/checkout
- uses: actions/checkout@v3

- uses: taskworld/job-cache-action
- uses: ./
id: cache
with:
cache-key: success-${{ github.run_number }}
Expand All @@ -44,9 +44,9 @@ jobs:
runs-on: ubuntu-latest
needs: failure
steps:
- uses: actions/checkout
- uses: actions/checkout@v3

- uses: taskworld/job-cache-action
- uses: ./
id: cache
with:
cache-key: failure-${{ github.run_number }}
Expand All @@ -57,9 +57,9 @@ jobs:
cache-miss:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout
- uses: actions/checkout@v3

- uses: taskworld/job-cache-action
- uses: ./
id: cache
with:
cache-key: miss-${{ github.run_number }}
Expand Down
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ inputs:

outputs:
cache-hit:
description: whether the job status cache is restored or not

runs:
using: node20
main: out/main.js
post: out/post.js
post-if: ${{ always() }}
post-if: always()

0 comments on commit ee96948

Please sign in to comment.