Skip to content

Commit

Permalink
Add publish static binary
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikWin committed Sep 10, 2024
1 parent 63ec36c commit c1d99ae
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c1d99ae

Please sign in to comment.