Skip to content

Commit d4f5207

Browse files
committed
build(release): adapt logic to find newest master build artifacts
1 parent 4d9cdfd commit d4f5207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2626
run: |
2727
mkdir artifacts
28-
ID=$(gh run list -b master --limit 1 --json databaseId | jq '.[0].databaseId')
28+
ID=$(gh run list --branch master --workflow build --limit 1 --json databaseId | jq '.[0].databaseId')
2929
gh run download $ID -D artifacts -n linux-cl -n linux-lib -n linux-clib -n unreal_5_7 -n unreal_5_6 -n unreal_5_5 -n unreal_5_4 -n macos-cl -n macos-lib -n macos-clib -n macos-arm-cl -n macos-arm-lib -n macos-arm-clib -n win64-cl -n win64-lib -n win64-clib -n python-package-distribution
3030
mv artifacts/python-package-distribution dist
3131
- name: Zip

0 commit comments

Comments
 (0)