Skip to content

Update release.yml

Update release.yml #5

Workflow file for this run

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