Skip to content

Commit dcf8b8b

Browse files
authored
Merge branch 'main' into dependabot-github-actions
2 parents 3d897e2 + f896b37 commit dcf8b8b

File tree

2 files changed

+126
-139
lines changed

2 files changed

+126
-139
lines changed

.github/workflows/audit-chromium-schedule-dates.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@ jobs:
1818
with:
1919
node-version: '22.15.0'
2020
- name: Restore previous run data
21-
uses: dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc # v8
22-
with:
23-
name: data
24-
branch: main
25-
if_no_artifact_found: ignore
26-
workflow_conclusion: 'completed'
27-
search_artifacts: true
21+
run: |
22+
RUN_ID=$(gh run list --workflow audit-chromium-schedule-dates.yml --branch main --status completed --limit 1 --json databaseId --jq '.[0].databaseId')
23+
if [ -n "$RUN_ID" ]; then
24+
gh run download "$RUN_ID" --name data
25+
fi
26+
env:
27+
GH_TOKEN: ${{ github.token }}
28+
GH_REPO: ${{ github.repository }}
2829
- run: npm install @electron/fiddle-core@2.0.1
2930
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
3031
id: audit-chromium-schedule

0 commit comments

Comments
 (0)