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
|
name: Build on Release
|
||||||
run-name: ${{ gitea.actor }}
|
run-name: ${{ gitea.actor }}
|
||||||
on: [ release ]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
cargo-build:
|
cargo-build:
|
||||||
@ -12,7 +15,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cargo build --release
|
cargo build --release
|
||||||
- name: Push binary to artifact
|
- name: Push binary to artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
name: build
|
draft: true
|
||||||
path: ./target/release/rust-archlinux-update
|
files: |-
|
||||||
|
target/release/rust-archlinux-update
|
Loading…
x
Reference in New Issue
Block a user