Skip to content

Commit

Permalink
Remove erroneous code, Tweak release location
Browse files Browse the repository at this point in the history
  • Loading branch information
DvvCz committed Mar 25, 2024
1 parent 38b8a0a commit 1b84e50
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
strategy:
matrix:
config:
- { os: ubuntu-latest, bin: target/release/cpkg, target: "x86_64-unknown-linux-gnu" }
- { os: windows-latest, bin: target/release/cpkg.exe, target: "x86_64-pc-windows-msvc" }
- { os: ubuntu-latest, bin: target/release/x86_64-unknown-linux-gnu/cpkg, target: "x86_64-unknown-linux-gnu" }
- { os: windows-latest, bin: target/release/x86_64-pc-windows-msvc/cpkg.exe, target: "x86_64-pc-windows-msvc" }
- { os: windows-latest, bin: target/release/i686-pc-windows-msvc/cpkg.exe, target: "i686-pc-windows-msvc" }

runs-on: ${{ matrix.config.os }}
Expand All @@ -23,9 +23,6 @@ jobs:
rustup target add ${{ matrix.config.target }}
cargo build --target ${{ matrix.config.target }} --release
- name: Zip & Rename
run: mv ${{ matrix.config.bin }} "cpkg-${{ github.ref_name }}-${{ matrix.config.target }}"

- name: Rename (Linux)
if: runner.os == 'Linux'
run: mv ${{ matrix.config.bin }} cpkg-${{ github.ref_name }}-${{ matrix.config.target }}
Expand Down

0 comments on commit 1b84e50

Please sign in to comment.