diff --git a/.gitea/workflows/build-on-release.yaml b/.gitea/workflows/build-on-release.yaml index 85e0b87..cd46ccd 100644 --- a/.gitea/workflows/build-on-release.yaml +++ b/.gitea/workflows/build-on-release.yaml @@ -4,10 +4,15 @@ on: [ release ] 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? + - name: Build Binary run: | - which cargo \ No newline at end of file + cargo build --release + - name: Push binary to artifact + uses: actions/upload-artifact@v4 + with: + name: build + path: ./target/release/rust-archlinux-update \ No newline at end of file