Skip to content

Commit

Permalink
ci: fix name conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
jizizr committed Nov 17, 2024
1 parent c3ea500 commit 6c9466b
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,15 @@ jobs:
key: ${{ matrix.os }}
# Build Rust backend
- name: Build
run: cargo build --release
- name: Archive atrifacts
if: ${{matrix.os != 'windows-latest' }}
uses: actions/upload-artifact@v4
with:
name: ping-server-rs-${{ matrix.os }}
path: |
./target/release/ping-server-rs
- name: Archive atrifacts
if: ${{matrix.os == 'windows-latest' }}
run: |
cargo build --release
mv target/release/ping-server-rs${{ matrix.os == 'windows-latest' && '.exe' || ''}} ping-server-rs-${{ matrix.os }}${{ matrix.os == 'windows-latest' && '.exe' || ''}}
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: ping-server-rs-${{ matrix.os }}
path: |
./target/release/ping-server-rs.exe
path: ./ping-server-rs-${{ matrix.os }}${{ matrix.os == 'windows-latest' && '.exe' || ''}}
Upload-Release:
permissions: write-all
needs: [build]
Expand Down

0 comments on commit 6c9466b

Please sign in to comment.