Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
picoHz authored Oct 10, 2024
1 parent 4619c03 commit 52eefd1
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,28 @@ env:

jobs:
release-linux:
strategy:
matrix:
toolchain: [x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu]
name: Upload Release Assets
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [x86_64-unknown-linux-gnu]
steps:
- uses: actions/checkout@v4
- name: Install cargo-binstall
uses: cargo-bins/[email protected]
- name: Install cross
run: cargo binstall cross --force -y
- name: Build project
run: cross build -p kodecks-bevy --profile distribution --features embed_assets --target ${{ matrix.toolchain }}
- name: Make archive
run: tar -C target/${{ matrix.toolchain }}/release -Jcvf kodecks-${{ matrix.toolchain }}.tar.xz kodecks

release-macos:
name: Upload Release Assets (macOS)
runs-on: macos-latest
strategy:
matrix:
toolchain: [aarch64-apple-darwin, aarch64-unknown-linux-gnu]
steps:
- uses: actions/checkout@v4
- name: Install cargo-binstall
Expand Down

0 comments on commit 52eefd1

Please sign in to comment.