Skip to content

Commit

Permalink
ci: add artifact url to windows outputs
Browse files Browse the repository at this point in the history
* Fixes missing artifact URL in Mattermost artifact reports
* Upload action will fail now if no files are found
  • Loading branch information
sutterseba committed Dec 3, 2024
1 parent 6f207ca commit a774621
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ jobs:
(cd $GOPATH/$GO_SRC_DIR; make ios)
windows:
runs-on: windows-2019
outputs:
artifact-url: ${{ steps.upload.outputs.artifact-url }}
defaults:
run:
shell: bash
Expand Down Expand Up @@ -221,10 +223,12 @@ jobs:
cd frontends/qt
makensis setup.nsi
- name: Upload Installer
id: upload
uses: actions/upload-artifact@v4
with:
path: frontends/qt/BitBox-installer.exe
name: BitBoxApp-Windows-${{ github.sha }}.exe
name: BitBoxApp-windows-${{ github.sha }}.exe
if-no-files-found: error

report-artifacts:
needs: [android, qt-linux, macos, windows]
Expand Down

0 comments on commit a774621

Please sign in to comment.