rust-archlinux-update/.gitea/workflows/build-on-release.yaml

22 lines
528 B
YAML

name: Build on Release
run-name: ${{ gitea.actor }}
on:
push:
branches:
- main
jobs:
cargo-build:
runs-on: ubuntu-latest-rust
steps:
- name: Check out code repository
uses: https://gitea.com/actions/checkout@v4
- name: Build Binary
run: |
cargo build --release
- name: Push binary to artifact
uses: https://gitea.com/actions/gitea-release-action@v1
with:
draft: true
files: |-
target/release/rust-archlinux-update