name: Build and upload a binary on tag push on: [push] jobs: test: runs-on: docker steps: - run: echo All Good here release: runs-on: docker steps: - name: Checkout uses: actions/checkout@v3 - name: Setup toolchian uses: https://github.com/dtolnay/rust-toolchain@stable - name: Build run: cargo build --release --verbose - name: Upload release uses: actions/forgejo-release@v1 with: direction: upload url: https://git.technoduck.me release-dir: release token: ${{secrets.app_token}} verbose: true