Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.
ci: add workflow_dispatch to publish.yml for manual crates.io triggers
Samir Hossain5932c3169ea2
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex 4ed7c93..192b606 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -3,15 +3,26 @@ name: Publish to Crates.ioon:release:types: [published]+ workflow_dispatch:+ inputs:+ tag:+ description: 'Tag/version to publish (e.g. v0.1.8)'+ required: falsejobs:publish:name: Publishruns-on: ubuntu-lateststeps:+ - name: Determine Ref+ id: ref+ run: |+ REF="${{ github.event.inputs.tag || github.event.release.tag_name || 'v0.1.8' }}"+ echo "target_ref=$REF" >> $GITHUB_OUTPUT+- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4with:- ref: ${{ github.event.release.tag_name }}+ ref: ${{ steps.ref.outputs.target_ref }}- name: Install Rustuses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable