Skip to content

Commit 362959a

Browse files
committed
Fix artifact saving
1 parent fe76c84 commit 362959a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/pr-sccache-save/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea #v7.0.1
77
with:
88
script: |
9-
const data = await github.rest.actions.listWorkflowRunArtifacts({
9+
const data = await github.rest.actions.listArtifactsForRepo({
1010
owner: context.repo.owner,
1111
repo: context.repo.repo,
1212
name: 'sccache-pr' + context.issue.number

.github/workflows/precommit-windows.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: "Windows Precommit Tests"
22

33
permissions:
44
contents: read
5-
actions: read
65

76
on:
87
pull_request:

0 commit comments

Comments
 (0)