Nightly Release Cross #213
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: Nightly Release Cross | |
permissions: | |
contents: write | |
on: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
upload-nightly-cross: | |
strategy: | |
matrix: | |
info: | |
- os: "ubuntu-latest" | |
target: "aarch64-unknown-linux-gnu" | |
runs-on: ${{ matrix.info.os }} | |
steps: | |
- name: Setup NodeJS toolchain | |
uses: actions/setup-node@v4 | |
- name: Install TailwindCSS | |
run: npm install -D tailwindcss | |
- name: Install DaisyUI | |
run: npm install -D daisyui@latest | |
- name: Install TailwindCSS Typography | |
run: npm install -D @tailwindcss/typography | |
- name: Setup Stable Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy, rustfmt | |
- name: Setup Cross | |
run: cargo install cross --git https://github.com/cross-rs/cross | |
- uses: actions/checkout@v4 | |
- uses: taiki-e/install-action@just | |
- name: Build Artemis | |
shell: bash | |
run: just --shell bash --shell-arg -uc _ci_release_cross ${{ matrix.info.target }} | |
- name: Package Artemis | |
shell: bash | |
env: | |
NAME: artemis | |
TARGET: ${{ matrix.info.target }} | |
run: .github/scripts/package.sh | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: "artemis*" | |
name: nightly | |
tag_name: nightly | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |