Update release.yml #5
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 on tag | |
on: | |
push: | |
tags: | |
- '*' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: debian:unstable | |
steps: | |
- name: Install dependencies | |
run: apt update && apt install libgtk-4-dev libgtk4-layer-shell-dev | |
- uses: actions/checkout@v4 | |
- name: Setup rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy,rustfmt | |
- name: Load rust cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Setup problem matchers | |
uses: r7kamura/rust-problem-matchers@v1 | |
- name: Build | |
run: cargo build --release --package dynisland | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: false | |
draft: true | |
files: | | |
target/release/dynisland | |