Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.
ci: automate homebrew and crates.io publishing
Samir Hossains57f571528200
diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.ymlindex 6773a0b..999656f 100644--- a/.github/workflows/homebrew.yml+++ b/.github/workflows/homebrew.yml@@ -1,12 +1,15 @@name: Update Homebrew Formulaon:- release:- types: [published]+ workflow_run:+ workflows: ["Release"]+ types:+ - completedworkflow_dispatch:jobs:update-homebrew:+ if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}runs-on: ubuntu-latestpermissions:contents: writediff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex 254537a..228e901 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -1,8 +1,10 @@name: Publish to Crates.ioon:- release:- types: [published]+ workflow_run:+ workflows: ["Release"]+ types:+ - completedworkflow_dispatch:inputs:tag:@@ -12,6 +14,7 @@ on:jobs:publish:name: Publish+ if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}runs-on: ubuntu-lateststeps:- name: Determine Ref