Update README and add gitea workflow
This commit is contained in:
parent
73682f1194
commit
f53db91118
@ -1,13 +1,22 @@
|
||||
name: Build on Release
|
||||
run-name: ${{ gitea.actor }}
|
||||
on: [ release ]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
cargo-build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-latest-rust
|
||||
steps:
|
||||
- name: Check out code repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Is cargo installed?
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
- name: Build Binary
|
||||
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…
Reference in New Issue
Block a user