Anime Games Launcher 1.0.1 #16
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: Compile release build | |
on: | |
push: | |
branches: [ "master" ] | |
paths: [ "src/**" ] | |
release: | |
types: [ published ] | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_upload: | |
runs-on: ubuntu-latest | |
container: | |
image: ubuntu:devel | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
steps: | |
- name: Install dependencies | |
run: | | |
apt update | |
apt install -y libgtk-4-dev libadwaita-1-dev libluajit-5.1-dev liblua5.1-0-dev git curl build-essential | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Compile release build | |
run: cargo build --release --verbose | |
- name: Upload artifact | |
uses: actions/[email protected] | |
with: | |
name: Release build | |
path: target/release/anime-games-launcher |