diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 2a570d28..5daa4bcf 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -7,6 +7,7 @@ name: release-please jobs: release-please: runs-on: ubuntu-latest + environment: release outputs: release_created: ${{ steps.release.outputs.release_created }} upload_url: ${{ steps.release.outputs.upload_url }} @@ -28,6 +29,7 @@ jobs: release-task: [curseforge, discordupload, modrinth] needs: release-please runs-on: ubuntu-latest + environment: release if: ${{ needs.release-please.outputs.release_created }} steps: - uses: actions/checkout@v3