Skip to content

Commit

Permalink
Fix nightly workflow to respect "dry run" option
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh committed Jul 25, 2023
1 parent 66060fb commit e1946b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@ jobs:
path: vscode-lingua-franca-${{ env.version }}.vsix
if-no-files-found: error
retention-days: 3
if: ${{ inputs.dry-run == 'true' }}
if: ${{ github.event.inputs.dry-run == 'true' }}
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
extensionFile: vscode-lingua-franca-${{ env.version }}.vsix
preRelease: true
dryRun: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run == 'true' }}
dryRun: ${{ github.event.inputs.dry-run == 'true' }}
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
extensionFile: vscode-lingua-franca-${{ env.version }}.vsix
preRelease: true
dryRun: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run == 'true' }}
dryRun: ${{ github.event.inputs.dry-run == 'true' }}

0 comments on commit e1946b5

Please sign in to comment.