Skip to content

Commit

Permalink
ci: Dry-run publish-release on master (#6029)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Collins <alex_collins@intuit.com>
  • Loading branch information
alexec committed May 26, 2021
1 parent d218ea7 commit 2e70ff2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,9 @@ jobs:
publish-release:
runs-on: ubuntu-20.04
if: startsWith(github.ref, 'refs/tags/v')
needs: [ push-images, test-images-linux-amd64, test-images-windows ]
env:
NODE_OPTIONS: --max-old-space-size=4096
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
Expand Down Expand Up @@ -390,6 +391,7 @@ jobs:
# of this action.
# Instead, delete the release so it is re-created.
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
prerelease: ${{ startsWith(github.ref, 'refs/tags/v0') || contains(github.ref, 'rc') }}
body_path: release-notes
Expand Down

0 comments on commit 2e70ff2

Please sign in to comment.