Skip to content

Commit

Permalink
ci: fix publish triggers [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar committed Jan 18, 2024
1 parent 5708146 commit b799b6b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
npm:
runs-on: ubuntu-latest
if: github.event.inputs.package == 'all' || github.event.inputs.package == 'npm'
if: github.event_name == 'release' || github.event.inputs.package == 'all' || github.event.inputs.package == 'npm'
needs: assets
permissions:
contents: read
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:

aur:
runs-on: ubuntu-latest
if: github.event.inputs.package == 'all' || github.event.inputs.package == 'aur'
if: github.event_name == 'release' || github.event.inputs.package == 'all' || github.event.inputs.package == 'aur'
needs: assets
steps:
- uses: actions/checkout@v4
Expand All @@ -144,7 +144,7 @@ jobs:

homebrew:
runs-on: ubuntu-latest
if: github.event.inputs.package == 'all' || github.event.inputs.package == 'homebrew'
if: github.event_name == 'release' || github.event.inputs.package == 'all' || github.event.inputs.package == 'homebrew'
needs: assets
steps:
- uses: actions/checkout@v4
Expand All @@ -160,7 +160,7 @@ jobs:

chocolatey:
runs-on: windows-latest
if: github.event.inputs.package == 'all' || github.event.inputs.package == 'chocolatey'
if: github.event_name == 'release' || github.event.inputs.package == 'all' || github.event.inputs.package == 'chocolatey'
needs: assets
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:

docker:
runs-on: ubuntu-latest
if: github.event.inputs.package == 'all' || github.event.inputs.package == 'docker'
if: github.event_name == 'release' || github.event.inputs.package == 'all' || github.event.inputs.package == 'docker'
needs: assets
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit b799b6b

Please sign in to comment.