From 070ff90b076ecff954e104f7ff2e9672bad5e32e Mon Sep 17 00:00:00 2001 From: "Ben Scholzen (DASPRiD)" Date: Sat, 26 Oct 2024 17:05:46 +0200 Subject: [PATCH] ci: download all artifacts at once --- .github/workflows/release.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 95b17b9..c5db539 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -99,21 +99,19 @@ jobs: run: | if [ "${{ matrix.target }}" == "linux-x64" ]; then cargo build --release --target x86_64-unknown-linux-gnu - cp target/x86_64-unknown-linux-gnu/release/vrc-osc-manager ./vrc-osc-manager else cargo install cross --git https://github.com/rust-embedded/cross cross build --release --target x86_64-pc-windows-gnu - cp target/x86_64-pc-windows-gnu/release/vrc-osc-manager.exe ./vrc-osc-manager.exe fi shell: bash - name: Upload Binary Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.target }}-binary path: | - ./vrc-osc-manager - ./vrc-osc-manager.exe + ./target/x86_64-unknown-linux-gnu/release/vrc-osc-manager + ./target/x86_64-pc-windows-gnu/release/vrc-osc-manager.exe semantic-release: needs: [ build ] @@ -132,14 +130,7 @@ jobs: - name: Download Binaries uses: actions/download-artifact@v4 with: - name: vrc-osc-manager - path: ./release-artifacts/ - - - name: Download Windows Binary - uses: actions/download-artifact@v4 - with: - name: vrc-osc-manager.exe - path: ./release-artifacts/ + path: release-artifacts - name: Update version run: |