Skip to content

Commit

Permalink
Fix artifact saving
Browse files Browse the repository at this point in the history
  • Loading branch information
tstellar committed Apr 29, 2024
1 parent fe76c84 commit 362959a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-sccache-save/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea #v7.0.1
with:
script: |
const data = await github.rest.actions.listWorkflowRunArtifacts({
const data = await github.rest.actions.listArtifactsForRepo({
owner: context.repo.owner,
repo: context.repo.repo,
name: 'sccache-pr' + context.issue.number
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/precommit-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: "Windows Precommit Tests"

permissions:
contents: read
actions: read

on:
pull_request:
Expand Down

0 comments on commit 362959a

Please sign in to comment.