Skip to content

Commit

Permalink
Revert "temp: check dryRun securely"
Browse files Browse the repository at this point in the history
This reverts commit 5cf07c6.
  • Loading branch information
gadenbuie committed Apr 3, 2024
1 parent 5cf07c6 commit 8d62bf1
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8d62bf1

Please sign in to comment.