Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
Louis-Marie Baer 2024-03-24 12:27:33 +01:00
commit 304b16cb54

View file

@ -51,13 +51,13 @@ jobs:
if [ "$RUNNER_OS" == "macOS" ]; then if [ "$RUNNER_OS" == "macOS" ]; then
cargo bundle --release cargo bundle --release
cargo bundle --release --target aarch64-apple-darwin cargo bundle --release --target aarch64-apple-darwin
mv target/release/bundle/osx/Gupax.app Gupax-macos-x64.app mv target/release/bundle/osx/Gupaxx.app Gupaxx-macos-x64.app
mv target/aarch64-apple-darwin/release/bundle/osx/Gupax.app Gupax-macos-arm64.app mv target/aarch64-apple-darwin/release/bundle/osx/Gupaxx.app Gupaxx-macos-arm64.app
tar -cf macos.tar Gupax-macos-arm64.app Gupax-macos-x64.app tar -cf macos.tar Gupaxx-macos-arm64.app Gupaxx-macos-x64.app
elif [ "$RUNNER_OS" == "Linux" ]; then elif [ "$RUNNER_OS" == "Linux" ]; then
cargo build --release --target x86_64-unknown-linux-gnu cargo build --release --target x86_64-unknown-linux-gnu
mv target/x86_64-unknown-linux-gnu/release/gupax . mv target/x86_64-unknown-linux-gnu/release/gupaxx .
tar -cf linux.tar gupax tar -cf linux.tar gupaxx
else else
cargo build --release cargo build --release
fi fi
@ -68,7 +68,7 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: windows name: windows
path: target/release/gupax.exe path: target/release/gupaxx.exe
- name: Archive - name: Archive
if: ${{ runner.os == 'macOS' }} if: ${{ runner.os == 'macOS' }}