On push to main build and create draft release
Some checks failed
Build on Release / cargo-build (push) Failing after 2s

This commit is contained in:
Luke Harding 2024-04-30 13:50:02 -04:00
parent a19d7e026a
commit f856a1d89a

View File

@ -1,6 +1,9 @@
name: Build on Release
run-name: ${{ gitea.actor }}
on: [ release ]
on:
push:
branches:
- main
jobs:
cargo-build:
@ -12,7 +15,8 @@ jobs:
run: |
cargo build --release
- name: Push binary to artifact
uses: actions/upload-artifact@v4
uses: actions/gitea-release-action@v1
with:
name: build
path: ./target/release/rust-archlinux-update
draft: true
files: |-
target/release/rust-archlinux-update