Skip to content

Commit 8a692fc

Browse files
committed
fix: build artifact downloader
1 parent 2938613 commit 8a692fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/run.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ jobs:
99
name: Run Docs Updater Program
1010
runs-on: ubuntu-latest
1111
steps:
12+
- name: Get build run ID
13+
run: BUILD_RUN_ID=$(gh run list --json databaseId --workflow= workflow-bot.yml --limit 1 | jq -r '.[0].databaseId')
14+
- run: echo $BUILD_RUN_ID
1215
- name: Download build
1316
uses: actions/download-artifact@v4
1417
with:
1518
name: build
19+
run-id: $BUILD_RUN_ID
1620
- name: Run program
1721
env:
1822
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)