Mycelium/.gitea/workflows/release.yml
Benjamyn Love 31b155f4dd
Some checks failed
/ release (push) Failing after 5s
Update .gitea/workflows/release.yml
2025-03-20 21:55:39 -04:00

34 lines
890 B
YAML

# .gitea/workflows/release.yml
on:
push:
tags:
- '*'
env:
GITHUB_TOKEN: "{{ secrets.GT_TOKEN }}"
jobs:
release:
name: release
runs-on: ubuntu-24.04
strategy:
fail-fast: false
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
- name: Build binary
uses: houseabsolute/actions-rust-cross@v1
with:
command: "build"
target: "x86_64-unknown-linux-gnu"
toolchain: "stable"
args: "--locked --release"
force-use-cross: false
use-rust-cache: false
strip: true
- name: Publish artifacts and release
uses: houseabsolute/actions-rust-release@v0
with:
executable-name: "mycelium"
target: "x86_64-unknown-linux-gnu"