diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml new file mode 100644 index 0000000..d4f1238 --- /dev/null +++ b/.gitea/workflows/main.yaml @@ -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.* \ No newline at end of file