ci.yml: fix upload

This commit is contained in:
hinto.janai 2023-06-04 17:37:31 -04:00
parent 94d41c1297
commit 858e43dbcf
No known key found for this signature in database
GPG key ID: D47CE05FA175A499

View file

@ -57,8 +57,28 @@ jobs:
fi
shell: bash
- name: Archive
- name: Archive (Debug)
uses: actions/upload-artifact@v3
with:
name: festival-${{ matrix.os }}
path: target
name: gupax-debug-${{ matrix.os }}
if: matrix.os == 'windows-2019'
path: target/debug/gupax.exe
if: matrix.os == 'macos-11'
path: |
target/debug/bundle/osx/Gupax.app
target/aarch64-apple-darwin/debug/bundle/osx/Gupax.app
if: matrix.os == 'ubuntu-20.04'
path: target/debug/gupax
- name: Archive (Release)
uses: actions/upload-artifact@v3
with:
name: gupax-release-${{ matrix.os }}
if: matrix.os == 'windows-2019'
path: target/release/gupax.exe
if: matrix.os == 'macos-11'
path: |
target/release/bundle/osx/Gupax.app
target/aarch64-apple-darwin/release/bundle/osx/Gupax.app
if: matrix.os == 'ubuntu-20.04'
path: target/release/gupax