Mycelium/.gitea/workflows/release.yml
Benjamyn Love c44518759f
Some checks failed
/ release (push) Failing after 5s
sad
2025-03-21 09:37:15 +11:00

29 lines
754 B
YAML

# .gitea/workflows/release.yml
on:
push:
tags:
- '*'
jobs:
release:
name: release
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@master
- 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"
args: "--locked --release"
strip: true
- name: Publish artifacts and release
uses: houseabsolute/actions-rust-release@v0
with:
executable-name: "mycelium"
target: "x86_64-unknown-linux-gnu"