diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34ef3c20cc3497d27ece10b1b8f1619b23f95f97..15a91b3d0aa2618b4791658aacf9146a351bc05e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -826,8 +826,9 @@ jobs: timeout-minutes: 120 name: Create a Windows installer runs-on: [self-32vcpu-windows-2022] - if: contains(github.event.pull_request.labels.*.name, 'run-bundling') - # if: (startsWith(github.ref, 'refs/tags/v') || contains(github.event.pull_request.labels.*.name, 'run-bundling')) + if: | + ( startsWith(github.ref, 'refs/tags/v') + || contains(github.event.pull_request.labels.*.name, 'run-bundling') ) needs: [windows_tests] env: AZURE_TENANT_ID: ${{ secrets.AZURE_SIGNING_TENANT_ID }} @@ -870,8 +871,7 @@ jobs: - name: Upload Artifacts to release uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1 - # Re-enable when we are ready to publish windows preview releases - if: ${{ !(contains(github.event.pull_request.labels.*.name, 'run-bundling')) && env.RELEASE_CHANNEL == 'preview' }} # upload only preview + if: ${{ !(contains(github.event.pull_request.labels.*.name, 'run-bundling')) with: draft: true prerelease: ${{ env.RELEASE_CHANNEL == 'preview' }}