Nightly Release #206
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Nightly Release | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| branch: | |
| description: 'Branch to release from' | |
| required: false | |
| default: 'main' | |
| type: string | |
| dry-run: | |
| description: 'Run in dry-run mode (no actual publishing)' | |
| required: false | |
| default: false | |
| type: boolean | |
| schedule: | |
| - cron: '0 4 * * *' | |
| concurrency: | |
| group: nightly-${{ github.workflow }}-${{ github.event.inputs.branch || 'main' }} | |
| cancel-in-progress: false | |
| permissions: | |
| contents: write | |
| packages: write | |
| actions: read | |
| jobs: | |
| nightly-release: | |
| uses: salesforcecli/github-workflows/.github/workflows/vscode-publish-extensions.yml@main | |
| with: | |
| branch: ${{ github.event.inputs.branch || 'main' }} | |
| # Use 'changed' to automatically detect extensions with changes since last release | |
| # This repo only has 1 extension, but using 'changed' prevents unnecessary nightly releases | |
| extensions: 'changed' | |
| registries: 'all' | |
| pre-release: 'true' | |
| version-bump: 'auto' | |
| exclude-web-vsix: 'false' | |
| dry-run: ${{ github.event.inputs.dry-run == true || github.event.inputs.dry-run == 'true' }} | |
| secrets: inherit |