diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index df12916..4e26510 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -70,3 +70,21 @@ jobs: with: push: true tags: dominikwinecki/vidformer:latest,dominikwinecki/vidformer:${{ github.event.release.tag_name }} + + publish-binary: + runs-on: ubuntu-latest + timeout-minutes: 30 + + steps: + - uses: actions/checkout@v2 + - name: Deps + run: bash ./scripts/deps.sh + - name: Check Build + run: cargo check + - name: Build release + run: cargo build --release && cp ./target/release/vidformer-cli ./vidformer-cli-linux-amd64 + - name: Upload release + uses: softprops/action-gh-release@v2 + with: + files: | + vidformer-cli-linux-amd64 \ No newline at end of file