diff --git a/.gitea/workflows/build-on-release.yaml b/.gitea/workflows/build-on-release.yaml index cd46ccd..bdd9574 100644 --- a/.gitea/workflows/build-on-release.yaml +++ b/.gitea/workflows/build-on-release.yaml @@ -1,6 +1,9 @@ name: Build on Release run-name: ${{ gitea.actor }} -on: [ release ] +on: + push: + branches: + - main jobs: cargo-build: @@ -12,7 +15,8 @@ jobs: run: | cargo build --release - name: Push binary to artifact - uses: actions/upload-artifact@v4 + uses: actions/gitea-release-action@v1 with: - name: build - path: ./target/release/rust-archlinux-update \ No newline at end of file + draft: true + files: |- + target/release/rust-archlinux-update \ No newline at end of file