Skip to content

Commit

Permalink
ci: fix if condition to publish dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
rabii-chaarani committed Jul 12, 2024
1 parent c7ce503 commit a85dcb2
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,7 @@ jobs:
release-please:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: GoogleCloudPlatform/release-please-action@v4
id: release
with:
release-type: python
package-name: LoopDataConverter
version-file: LoopDataConverter/version.py
outputs:
release_created: ${{ steps.release.outputs.release_created }}

if: github.ref == 'refs/heads/dev'
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
steps:
- uses: GoogleCloudPlatform/release-please-action@v4
id: release
Expand Down

0 comments on commit a85dcb2

Please sign in to comment.