From 2e70ff2f90d00203ac1c9cdecf7f87e0d9ef37c2 Mon Sep 17 00:00:00 2001 From: Alex Collins Date: Wed, 26 May 2021 16:38:28 -0700 Subject: [PATCH] ci: Dry-run publish-release on master (#6029) Signed-off-by: Alex Collins --- .github/workflows/release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 30f2dd837d47..0d4a283f0cef 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 @@ -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