Skip to content

Commit

Permalink
chore: Control publishing steps with conditions according to outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdesouky committed Nov 14, 2024
1 parent 132790b commit 94e1fa5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
publish_helm_chart:
runs-on: ubuntu-latest
needs: release-please
if: ${{ needs.release-please.outputs.server-version }} || ${{ needs.release-please.outputs.helm-version }}
steps:
- uses: actions/checkout@v3
- name: Publish Helm charts
Expand All @@ -45,6 +46,7 @@ jobs:
name: Publishes tag to pypi
runs-on: ubuntu-latest
needs: release-please
if: ${{ needs.release-please.outputs.cli-version }}
steps:
- uses: actions/checkout@v3

Expand All @@ -64,6 +66,7 @@ jobs:
name: Build and Push Docker Image
uses: uptick/actions/.github/workflows/ci.yaml@main
needs: release-please
if: ${{ needs.release-please.outputs.server-version }}
secrets:
SECRET_ENV: "${{ secrets.CLUSTER_KEY }}"
#https://github.com/uptick/actions/blob/main/.github/workflows/ci.yaml
Expand Down

0 comments on commit 94e1fa5

Please sign in to comment.