From 8d62bf154042387120c8465870e54eb7828803ac Mon Sep 17 00:00:00 2001 From: Garrick Aden-Buie Date: Wed, 3 Apr 2024 10:24:56 -0400 Subject: [PATCH] Revert "temp: check dryRun securely" This reverts commit 5cf07c6ac701051c03af5c39eedb9327eeb4df69. --- .github/workflows/publish.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d0f2814..1423b07 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,22 +18,17 @@ jobs: with: node-version: "18.x" - run: yarn install --immutable --immutable-cache --check-cache - - name: Will publish? - run: > - echo "dryRun: ${{ !(github.event_name == 'push' && github.ref_type == 'tag') }}" - name: Publish to Open VSX Registry uses: HaaLeo/publish-vscode-extension@v1 with: pat: ${{ secrets.OPEN_VSX_TOKEN }} - dryRun: true - # dryRun: ${{ !(github.event_name == 'push' && github.ref_type == 'tag') }} + dryRun: ${{ !(github.event_name == 'push' && github.ref_type == 'tag') }} - name: Publish to Visual Studio Marketplace uses: HaaLeo/publish-vscode-extension@v1 with: pat: ${{ secrets.VSCE_PAT }} registryUrl: https://marketplace.visualstudio.com - dryRun: true - # dryRun: ${{ !(github.event_name == 'push' && github.ref_type == 'tag') }} + dryRun: ${{ !(github.event_name == 'push' && github.ref_type == 'tag') }} - name: Upload extension to Actions Artifact uses: actions/upload-artifact@v3 with: