fix: correct xdg data path on windows #21
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: Release | |
permissions: | |
pull-requests: write | |
contents: write | |
on: | |
push: | |
paths: | |
- extension/** | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Setup bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 1.0.33 | |
- name: Install dependencies | |
run: bun install --production --frozen-lockfile | |
- name: Build | |
run: | | |
bun run --cwd=extension build | |
bun run --cwd=extension package | |
env: | |
INTEGRATION_ID: ${{ secrets.INTEGRATION_ID }} | |
CLIENT_ID: ${{ secrets.CLIENT_ID }} | |
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }} | |
REDIRECT_URI: ${{ secrets.REDIRECT_URI }} | |
- name: Create release pull request or publish | |
uses: changesets/action@v1 | |
with: | |
version: bun run changeset version | |
publish: bun run --cwd=extension publish | |
commit: 'chore: release' | |
title: 'A New Release' | |
setupGitUser: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VSCE_PAT: ${{ secrets.VSCE_PAT }} |