1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-30 18:34:23 +02:00

Properly fetch the latest run-id

This commit is contained in:
2025-07-06 14:50:43 +02:00
parent 0fbc99c96f
commit 1575fb7e55

View File

@ -23,6 +23,9 @@ jobs:
run: qmake gpxsee.pro QMAKE_APPLE_DEVICE_ARCHS="x86_64h arm64"
- name: Build project
run: make -j3
- name: Get latest QtPBFImagePlugin run-id
id: runid
run: echo "::set-output name=runid::$(gh run list --repo tumic0/QtPBFImagePlugin --workflow 'OS X' --limit 1 --json databaseId -q '.[0].databaseId')"
- name: Download QtPBFImagePlugin
uses: actions/download-artifact@v4
with:
@ -31,7 +34,7 @@ jobs:
repository: tumic0/QtPBFImagePlugin
path: GPXSee.app/Contents/Plugins/imageformats
merge-multiple: true
run-id: $(gh run list --repo tumic0/QtPBFImagePlugin --workflow 'OS X' --limit 1 --json databaseId -q '.[0].databaseId')
run-id: ${{steps.runid.outputs.runid}}
- name: Create DMG
run: macdeployqt GPXSee.app -dmg -appstore-compliant
- name: Upload artifacts