Skip to content

Commit

Permalink
ci: add publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
nhedger committed Nov 7, 2023
1 parent a87756a commit 841bea7
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Publish

on:
schedule:
- cron: '0 0 * * *'
# schedule:
# - cron: '0 0 * * *'
workflow_dispatch:
inputs:
nightly:
Expand All @@ -27,11 +27,21 @@ jobs:
name: Publish
needs: [package]
runs-on: ubuntu-latest
environment: vscode
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup

- name: Download the artifact
uses: actions/download-artifact@v3
with:
name: biome.vsix
path: biome.vsix
- name: Show contents
run: ls -la

- name: Publish extension to Visual Studio Marketplace
run: pnpm exec vsce publish --packagePath biome.vsix
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 comments on commit 841bea7

Please sign in to comment.