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