This commit is contained in:
30
.gitea/workflows/main.yaml
Normal file
30
.gitea/workflows/main.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
name: build and upload
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: [ubuntu-latest]
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Rust
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
|
||||
- name: Build
|
||||
run: make
|
||||
|
||||
- name: Upload
|
||||
uses: christopherhx/gitea-upload-artifact@v4
|
||||
with:
|
||||
name: feddy
|
||||
path: |
|
||||
target/release/feddy
|
||||
completions.*
|
||||
Reference in New Issue
Block a user