Skip to content

chore: update GitHub Actions workflow and release config for improved… #12

chore: update GitHub Actions workflow and release config for improved…

chore: update GitHub Actions workflow and release config for improved… #12

Workflow file for this run

on:
push:
branches:
- 'main'
name: Deploy Extension
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- run: npm run install:all:ci
- name: Release
env:
HUSKY: 0
CI: true
GITHUB_TOKEN: ${{ secrets.PAT_C64BASICV2 }}
VSCE_PAT: ${{ secrets.VSCE_TOKEN }}
run: npx semantic-release
- id: versionSet
run: echo "tag_name=v"$(cat $VERSION_FILE)"" >> "$GITHUB_OUTPUT"