Skip to content

Commit

Permalink
fix: Cut release only when all tests passed (#721)
Browse files Browse the repository at this point in the history
Co-authored-by: Andriy Knysh <[email protected]>
Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]>
  • Loading branch information
3 people authored Dec 6, 2024
1 parent 9e0ff68 commit 4694786
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,6 @@ jobs:
run: |
make testacc
release:
needs: test
if: github.event_name == 'push'
uses: cloudposse/.github/.github/workflows/shared-go-auto-release.yml@main
with:
publish: false
format: binary
secrets: inherit

docker:
name: "Docker Lint"
needs: build
Expand Down Expand Up @@ -361,3 +352,12 @@ jobs:
"examples/${{ matrix.demo-folder }}/stacks/**/*.yml"
]
}
release:
needs: [test, lint, mock, k3s, localstack, docker, validate]
if: github.event_name == 'push'
uses: cloudposse/.github/.github/workflows/shared-go-auto-release.yml@main
with:
publish: false
format: binary
secrets: inherit

0 comments on commit 4694786

Please sign in to comment.