Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoalh committed Dec 15, 2024
1 parent 8f67019 commit 51f2351
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 27 deletions.
28 changes: 10 additions & 18 deletions .github/workflows/publish-deno-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,11 @@ jobs:
id: "deno-cache-restore"
uses: "actions/cache/restore@v4"
with:
key: "Deno/${{runner.os}}-${{github.run_id}}-${{github.run_attempt}}-${{github.job}}"
key: "${{runner.os}}/Deno/${{github.run_id}}-${{github.run_attempt}}-${{github.job}}"
restore-keys: |-
Deno/${{runner.os}}-${{github.run_id}}-${{github.run_attempt}}-
Deno/${{runner.os}}-${{github.run_id}}-${{github.run_attempt}}
Deno/${{runner.os}}-${{github.run_id}}-
Deno/${{runner.os}}-${{github.run_id}}
Deno/${{runner.os}}-
Deno/${{runner.os}}
Deno/
${{runner.os}}/Deno/${{github.run_id}}-${{github.run_attempt}}-
${{runner.os}}/Deno/${{github.run_id}}-
${{runner.os}}/Deno/
path: "${{steps.deno-cache-path.outputs.value}}"
- name: "Resolve Metadata"
id: "metadata"
Expand Down Expand Up @@ -81,7 +77,7 @@ jobs:
if: "${{!cancelled() && steps.deno-cache-restore.outcome == 'success'}}"
uses: "actions/cache/save@v4"
with:
key: "Deno/${{runner.os}}-${{github.run_id}}-${{github.run_attempt}}-${{github.job}}"
key: "${{runner.os}}/Deno/${{github.run_id}}-${{github.run_attempt}}-${{github.job}}"
path: "${{steps.deno-cache-path.outputs.value}}"
outputs:
npm-artifact: "${{steps.npm-artifact.outcome == 'success'}}"
Expand Down Expand Up @@ -122,15 +118,11 @@ jobs:
id: "npm-cache-restore"
uses: "actions/cache/restore@v4"
with:
key: "NPM/${{runner.os}}-${{github.run_id}}-${{github.run_attempt}}-${{github.job}}"
key: "${{runner.os}}/NPM/${{github.run_id}}-${{github.run_attempt}}-${{github.job}}"
restore-keys: |-
NPM/${{runner.os}}-${{github.run_id}}-${{github.run_attempt}}-
NPM/${{runner.os}}-${{github.run_id}}-${{github.run_attempt}}
NPM/${{runner.os}}-${{github.run_id}}-
NPM/${{runner.os}}-${{github.run_id}}
NPM/${{runner.os}}-
NPM/${{runner.os}}
NPM/
${{runner.os}}/NPM/${{github.run_id}}-${{github.run_attempt}}-
${{runner.os}}/NPM/${{github.run_id}}-
${{runner.os}}/NPM/
path: "${{steps.npm-cache-path.outputs.value}}"
- name: "Resolve Metadata"
id: "metadata"
Expand Down Expand Up @@ -230,5 +222,5 @@ jobs:
if: "${{!cancelled() && steps.npm-cache-restore.outcome == 'success'}}"
uses: "actions/cache/save@v4"
with:
key: "NPM/${{runner.os}}-${{github.run_id}}-${{github.run_attempt}}-${{github.job}}"
key: "${{runner.os}}/NPM/${{github.run_id}}-${{github.run_attempt}}-${{github.job}}"
path: "${{steps.npm-cache-path.outputs.value}}"
14 changes: 5 additions & 9 deletions .github/workflows/review-deno-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,11 @@ jobs:
id: "deno-cache-restore"
uses: "actions/cache/restore@v4"
with:
key: "Deno/${{runner.os}}-${{github.run_id}}-${{github.run_attempt}}-${{github.job}}"
key: "${{runner.os}}/Deno/${{github.run_id}}-${{github.run_attempt}}-${{github.job}}"
restore-keys: |-
Deno/${{runner.os}}-${{github.run_id}}-${{github.run_attempt}}-
Deno/${{runner.os}}-${{github.run_id}}-${{github.run_attempt}}
Deno/${{runner.os}}-${{github.run_id}}-
Deno/${{runner.os}}-${{github.run_id}}
Deno/${{runner.os}}-
Deno/${{runner.os}}
Deno/
${{runner.os}}/Deno/${{github.run_id}}-${{github.run_attempt}}-
${{runner.os}}/Deno/${{github.run_id}}-
${{runner.os}}/Deno/
path: "${{steps.deno-cache-path.outputs.value}}"
- name: "Analyze Repository"
id: "analyze"
Expand Down Expand Up @@ -128,5 +124,5 @@ jobs:
if: "${{!cancelled() && steps.deno-cache-restore.outcome == 'success'}}"
uses: "actions/cache/save@v4"
with:
key: "Deno/${{runner.os}}-${{github.run_id}}-${{github.run_attempt}}-${{github.job}}"
key: "${{runner.os}}/Deno/${{github.run_id}}-${{github.run_attempt}}-${{github.job}}"
path: "${{steps.deno-cache-path.outputs.value}}"

0 comments on commit 51f2351

Please sign in to comment.