# .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 - name: Build binary uses: houseabsolute/actions-rust-cross@v1 with: use-rust-cache: false command: "build" target: ${{ matrix.platform.target }} toolchain: ${{ matrix.platform.toolchain }} - name: Publish artifacts and release uses: houseabsolute/actions-rust-release@v0 with: executable-name: "mycelium" target: "x86_64-unknown-linux-gnu"