Skip to content

Commit

Permalink
Refactor release workflow and bump crate versions
Browse files Browse the repository at this point in the history
  • Loading branch information
wangeguo committed Oct 9, 2023
1 parent d1f1448 commit b669055
Show file tree
Hide file tree
Showing 3 changed files with 161 additions and 131 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,25 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
bin: [amp-apiserver, amp-controllers, amp-crdgen, amp-syncer]
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: ubuntu-latest
target: aarch64-unknown-linux-gnu
- os: macos-latest
target: x86_64-apple-darwin
- os: macos-latest
target: aarch64-apple-darwin
- os: windows-latest
target: x86_64-pc-windows-msvc
- os: windows-latest
target: aarch64-pc-windows-msvc
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@cross
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: ${{ matrix.bin }}
bin: amp-apiserver, amp-controllers, amp-crdgen, amp-syncer
archive: amphitheatre-$tag-$target
target: ${{ matrix.target }}
token: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit b669055

Please sign in to comment.