mirror of
https://github.com/aramperes/onetun.git
synced 2025-09-08 07:18:32 -04:00
fix: assume path is target
This commit is contained in:
parent
f75909fd8f
commit
c6544cfe05
1 changed files with 2 additions and 6 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -82,25 +82,21 @@ jobs:
|
|||
rust: stable
|
||||
target: x86_64-unknown-linux-musl
|
||||
cross: true
|
||||
output: target/x86_64-unknown-linux-musl/release/onetun
|
||||
- build: linux-aarch64
|
||||
os: ubuntu-latest
|
||||
rust: stable
|
||||
target: aarch64-unknown-linux-musl
|
||||
cross: true
|
||||
output: target/aarch64-unknown-linux-musl/release/onetun
|
||||
- build: macos-aarch64
|
||||
os: macos-latest
|
||||
rust: stable
|
||||
target: aarch64-apple-darwin
|
||||
cross: false
|
||||
output: target/release/onetun
|
||||
- build: windows
|
||||
os: windows-2019
|
||||
rust: stable
|
||||
target: x86_64-pc-windows-msvc
|
||||
cross: false
|
||||
output: target/release/onetun.exe
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
@ -152,10 +148,10 @@ jobs:
|
|||
run: |
|
||||
mkdir -p ci/assets
|
||||
if [ "${{ matrix.build }}" = "windows" ]; then
|
||||
cp "${{ matrix.output }}" "ci/assets/onetun.exe"
|
||||
cp "target/${{ matrix.output }}/release/onetun.exe" "ci/assets/onetun.exe"
|
||||
echo "ASSET=onetun.exe" >> $GITHUB_ENV
|
||||
else
|
||||
cp "${{ matrix.output }}" "ci/assets/onetun-${{ matrix.build }}"
|
||||
cp "target/${{ matrix.output }}/release/onetun" "ci/assets/onetun-${{ matrix.build }}"
|
||||
echo "ASSET=onetun-${{ matrix.build }}" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue