From 4cf382d15bd305238e89bff21b32cc832f55ac3f Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Thu, 4 Jan 2024 22:53:53 +0100 Subject: [PATCH] re-enable play.tailwindcss.com auto updates --- .github/workflows/release-insiders.yml | 30 ++++++++++++-------------- .github/workflows/release.yml | 30 +++++++++++++------------- 2 files changed, 29 insertions(+), 31 deletions(-) diff --git a/.github/workflows/release-insiders.yml b/.github/workflows/release-insiders.yml index 75349cfe7..af164663b 100644 --- a/.github/workflows/release-insiders.yml +++ b/.github/workflows/release-insiders.yml @@ -388,19 +388,17 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - # !! Enable this, once we are cleaning up all the `stable` engine related files. - # - # - name: Trigger Tailwind Play update - # uses: actions/github-script@v6 - # with: - # github-token: ${{ secrets.TAILWIND_PLAY_TOKEN }} - # script: | - # await github.rest.actions.createWorkflowDispatch({ - # owner: 'tailwindlabs', - # repo: 'play.tailwindcss.com', - # ref: 'master', - # workflow_id: 'upgrade-tailwindcss.yml', - # inputs: { - # insidersVersion: '0.0.0-${{ env.RELEASE_CHANNEL }}.${{ env.SHA_SHORT }}' - # } - # }) + - name: Trigger Tailwind Play update + uses: actions/github-script@v6 + with: + github-token: ${{ secrets.TAILWIND_PLAY_TOKEN }} + script: | + await github.rest.actions.createWorkflowDispatch({ + owner: 'tailwindlabs', + repo: 'play.tailwindcss.com', + ref: 'master', + workflow_id: 'upgrade-tailwindcss.yml', + inputs: { + insidersVersion: '0.0.0-${{ env.RELEASE_CHANNEL }}.${{ env.SHA_SHORT }}' + } + }) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80cddbc3c..c10071385 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -412,18 +412,18 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - # - name: Trigger Tailwind Play update - # if: env.RELEASE_CHANNEL == 'latest' - # uses: actions/github-script@v6 - # with: - # github-token: ${{ secrets.TAILWIND_PLAY_TOKEN }} - # script: | - # await github.rest.actions.createWorkflowDispatch({ - # owner: 'tailwindlabs', - # repo: 'play.tailwindcss.com', - # ref: 'master', - # workflow_id: 'upgrade-tailwindcss.yml', - # inputs: { - # version: '${{ env.TAILWINDCSS_VERSION }}' - # } - # }) + - name: Trigger Tailwind Play update + if: env.RELEASE_CHANNEL == 'latest' + uses: actions/github-script@v6 + with: + github-token: ${{ secrets.TAILWIND_PLAY_TOKEN }} + script: | + await github.rest.actions.createWorkflowDispatch({ + owner: 'tailwindlabs', + repo: 'play.tailwindcss.com', + ref: 'master', + workflow_id: 'upgrade-tailwindcss.yml', + inputs: { + version: '${{ env.TAILWINDCSS_VERSION }}' + } + })