diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4493b19..6e3353b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,13 +59,7 @@ jobs: overwrite: true release_github: name: Publish to GitHub Releases - needs: - - release - - release_npm - - release_maven - - release_pypi - - release_nuget - - release_golang + needs: release runs-on: ubuntu-latest permissions: contents: write diff --git a/.projenrc.ts b/.projenrc.ts index 72cb58c..8d72781 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -128,5 +128,7 @@ releaseWorkflow?.addOverride("on.push", { ".github/**/*.md", ], }); +// always publish a new GitHub release, even when publishing to a particular package manager fails +releaseWorkflow?.addOverride("jobs.release_github.needs", "release"); project.synth();