On push to main build and create draft release
Some checks failed
Build on Release / cargo-build (push) Failing after 2s
Some checks failed
Build on Release / cargo-build (push) Failing after 2s
This commit is contained in:
parent
a19d7e026a
commit
f856a1d89a
@ -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
|
Loading…
Reference in New Issue
Block a user