Update README and add gitea workflow
This commit is contained in:
parent
8b79dd83bb
commit
426ef923e0
@ -1,13 +1,22 @@
|
|||||||
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:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest-rust
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code repository
|
- name: Check out code repository
|
||||||
uses: actions/checkout@v4
|
uses: https://gitea.com/actions/checkout@v4
|
||||||
- name: Is cargo installed?
|
- name: Build Binary
|
||||||
run: |
|
run: |
|
||||||
which cargo
|
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
|
Loading…
x
Reference in New Issue
Block a user