Skip to content

Merge pull request #169 from an-anime-team/next #29

Merge pull request #169 from an-anime-team/next

Merge pull request #169 from an-anime-team/next #29

name: Compile release build
on:
push:
branches: [ "main" ]
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 build-essential libgtk-4-dev libadwaita-1-dev git curl cmake
- 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/honkers-railway-launcher