Skip to content

Commit dd06163

Browse files
committed
Cleanup CI
1 parent a5e9dfd commit dd06163

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ jobs:
119119
if: ${{ contains(matrix.cargo_targets, '-musl') }}
120120
run: sudo apt-get install musl-tools -y
121121
- name: Build release binary
122+
shell: bash
122123
run: |
123124
if [ "${{ matrix.name }}" = "ubuntu-arm-latest" ]; then
124125
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-gnu-gcc
@@ -131,12 +132,12 @@ jobs:
131132
staging="${{ env.BIN_NAME }}-${{ needs.create-release.outputs.release_version }}-${{ matrix.target }}"
132133
mkdir -p "$staging"
133134
if [ "${{ matrix.os }}" = "windows-latest" ]; then
134-
cp "target/${{ matrix.cargo_targets }}/${{ env.BIN_NAME }}.exe" "$staging/"
135+
cp "target/${{ matrix.cargo_targets }}/release/${{ env.BIN_NAME }}.exe" "$staging/"
135136
cd "$staging"
136137
7z a "../$staging.zip" .
137138
echo "ASSET=$staging.zip" >> $GITHUB_ENV
138139
else
139-
cp "target/${{ matrix.cargo_targets }}/${{ env.BIN_NAME }}" "$staging/"
140+
cp "target/${{ matrix.cargo_targets }}/release/${{ env.BIN_NAME }}" "$staging/"
140141
tar czf "$staging.tar.gz" -C "$staging" .
141142
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV
142143
fi

0 commit comments

Comments
 (0)