0.3.4-alpha #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Linux ARM | |
permissions: | |
contents: write | |
on: | |
release: | |
types: [released] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y pkg-config libssl-dev | |
- name: Install cross | |
run: cargo install cross | |
- name: Build with cross | |
run: cross build --release --target aarch64-unknown-linux-gnu | |
- name: Create .tar.xz archive | |
run: | | |
cd target/aarch64-unknown-linux-gnu/release | |
tar -cJf amber-aarch64-unknown-linux-gnu.tar.xz amber | |
- name: Upload Release Asset | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: target/aarch64-unknown-linux-gnu/release/amber-aarch64-unknown-linux-gnu.tar.xz |