Remove thumbnail logic (#4602) #2
This file contains 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: Publish VS Code Extension | |
on: | |
push: | |
branches: | |
- main | |
- production | |
env: | |
CI: 1 | |
PRINT_GITHUB_ANNOTATIONS: 1 | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
publish: | |
name: Publish VS Code Extension | |
environment: vsce publish | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest-16-cores-open | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: ./.github/actions/setup | |
- name: Build types | |
run: yarn build-types | |
- name: Get extension info from the marketplace | |
working-directory: 'apps/vscode/extension' | |
run: yarn get-info | |
- name: Publish extension | |
run: yarn tsx ./internal/scripts/publish-vscode-extension.ts | |
env: | |
VSCE_PAT: ${{ secrets.VSCE_PAT }} | |
TLDRAW_ENV: ${{ (github.ref == 'refs/heads/production' && 'production') || (github.ref == 'refs/heads/main' && 'staging') }} |