Create artifact of all files in release/ for windows build (so that we can inspect it and write a more specific glob)

#build
This commit is contained in:
Jonatan Heyman 2023-01-15 13:09:42 +01:00
parent d2e1f9d4a0
commit 800b4506ae

View File

@ -39,8 +39,17 @@ jobs:
release: ${{ startsWith(github.ref, 'refs/tags/v') }} release: ${{ startsWith(github.ref, 'refs/tags/v') }}
- name: Upload Mac artifact - name: Upload Mac artifact
if: ${{ matrix.os == 'macos-latest' }}
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: heynote-macos-${{ github.sha }} name: heynote-macos-${{ github.sha }}
path: release/*/Heynote_[0-9].[0-9].[0-9]*.dmg path: release/*/Heynote_[0-9].[0-9].[0-9]*.dmg
retention-days: 1 retention-days: 1
- name: Upload Windows artifact
if: ${{ matrix.os == 'windows-latest' }}
uses: actions/upload-artifact@v3
with:
name: heynote-windows-${{ github.sha }}
path: release/**
retention-days: 1