ci: always take artifacts from master branch in nightly release

This commit is contained in:
iTrooz
2026-01-09 16:43:18 +01:00
parent 3cc0b9294e
commit e29ae631fc
2 changed files with 4 additions and 2 deletions

View File

@@ -37,13 +37,14 @@ jobs:
run: |
project_version=`cat ImHex/VERSION`
echo "IMHEX_VERSION=$project_version" >> $GITHUB_ENV
# TODO: Replace by Github CLI when github.com/cli/cli/pull/12435 is closed
- name: ⬇️ Download artifacts from latest workflow
uses: dawidd6/action-download-artifact@v6
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: build.yml
branch: ${{ github.event.release.target_commitish }}
branch: master
workflow_conclusion: success
skip_unpack: true