Skip to content

Commit

Permalink
ci: fix some issues
Browse files Browse the repository at this point in the history
  • Loading branch information
EmileRolley committed Oct 21, 2024
1 parent b36644a commit 5e053f3
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,25 @@ jobs:
registry-url: https://registry.npmjs.org/
node-version: 20.x
cache: yarn
- name: Install dependencies
run: yarn install --immutable
- name: Build package
run: npx vsce package
- name: Publish
run: yarn deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
# - name: Upload artifact
# uses: actions/upload-artifact@v4
# with:
# name: VSIX
# path: "*.vsix"
- uses: softprops/action-gh-release@v2
# if: startsWith(github.ref, 'refs/tags/')
with:
generate_release_notes: true
files: "*.vsix"
draft: false
tag: ${{ github.ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: yarn install --immutable
- name: Build package
run: npx vsce package
- name: Publish
run: yarn deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 comments on commit 5e053f3

Please sign in to comment.