Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
OCharnyshevich committed Feb 8, 2022
1 parent 695d376 commit 42a79d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
jobs:
build-aarch64-apple-darwin:
name: Build aarch64-apple-darwin
if: github.event_name == 'release' && github.event.action == 'created'
strategy:
matrix:
os: [ macOS-latest ]
Expand All @@ -21,8 +22,6 @@ jobs:
toolchain: stable
override: true
- run: rustup target add aarch64-apple-darwin
- run: cargo fetch --target aarch64-apple-darwin
- run: cargo build --release --target aarch64-apple-darwin
build:
name: Release
if: github.event_name == 'release' && github.event.action == 'created'
Expand Down Expand Up @@ -75,7 +74,7 @@ jobs:
strip "target/${{ matrix.target }}/release/${{ matrix.bin }}"
fi
cp "target/${{ matrix.target }}/release/${{ matrix.bin }}" "$release_name/"
cp README.md LICENSE-APACHE LICENSE-MIT assets resources "$release_name/"
cp -r README.md LICENSE-APACHE LICENSE-MIT assets resources "$release_name/"
tar czvf "$release_tar" "$release_name"
rm -r "$release_name"
# Windows environments in github actions don't have the gnu coreutils installed,
Expand Down
File renamed without changes.

0 comments on commit 42a79d7

Please sign in to comment.