Mycelium/.gitea/workflows/release.yml
Benjamyn Love 38d6be83dc
Some checks failed
/ release (push) Failing after 37s
Update .gitea/workflows/release.yml
2025-03-20 22:13:51 -04:00

31 lines
710 B
YAML

# .gitea/workflows/release.yml
on:
push:
tags:
- '*'
env:
GITHUB_TOKEN: "{{ secrets.GT_TOKEN }}"
CRATE_NAME: mycelium
RUST_BACKTRACE: 1
jobs:
release:
name: release
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
platform:
- os-name: Linux-x86_64
runs-on: ubuntu-20.04
target: x86_64-unknown-linux-gnu
toolchain:
- stable
steps:
- uses: actions/checkout@v4
- name: Install deps
run: |
apt-get update; apt-get install -y libdbus-1-3 libdbus-1-dev libdbus-1-3 pkg-config rustup
rustup toolchain install stable-x86_64-unknown-linux-gnu
cargo build --release