Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Arqu committed Apr 24, 2024
1 parent 7511616 commit 74740b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,16 @@ jobs:
- name: Build archives
shell: bash
run: |
pwd
ls
IFS=',' read -ra BIN_NAMES <<< "${{ env.BIN_NAMES }}"
ASSETS=""
for BIN_NAME in "${BIN_NAMES[@]}"; do
staging="$BIN_NAME-${{ needs.create-release.outputs.release_version }}-${{ matrix.cargo_targets }}"
echo "$staging"
mkdir -p "$staging"
if [ "${{ matrix.os }}" = "windows-latest" ]; then
echo "windows"
cp "target/${{ matrix.cargo_targets }}/optimized-release/$BIN_NAME.exe" "$staging/"
cd "$staging"
zip -r "../$staging.zip" .
Expand Down

0 comments on commit 74740b0

Please sign in to comment.