Add changelog section for v0.0.34 #41
Workflow file for this run
This file contains hidden or 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 VSIX | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| test: | |
| uses: ./.github/workflows/build-and-test.yml | |
| github-release: | |
| needs: | |
| - test | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Download VSIX Artifact | |
| uses: actions/download-artifact@v8 | |
| with: | |
| path: /tmp | |
| pattern: 'Linux-*.vsix' | |
| merge-multiple: true | |
| - name: Install clojure tools | |
| uses: DeLaGuardo/setup-clojure@13.6.0 | |
| with: | |
| cli: latest | |
| bb: latest | |
| - name: Cache clojure/java dependencies | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.m2/repository | |
| ~/.gitlibs | |
| ~/.deps.clj | |
| key: ${{ runner.os }}-clojure-${{ hashFiles('**/*.edn') }} | |
| restore-keys: | | |
| ${{ runner.os }}-clojure- | |
| - name: Write release notes | |
| run: | | |
| bb ci:release-notes ${{ github.ref_name }} > /tmp/release-notes.md | |
| - name: Github Release | |
| uses: ncipollo/release-action@v1 | |
| with: | |
| bodyFile: /tmp/release-notes.md | |
| artifacts: "/tmp/*.vsix" | |
| publish-to-marketplace: | |
| runs-on: ubuntu-latest | |
| needs: github-release | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22' | |
| - name: Cache npm | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-npm- | |
| - name: Install node dependencies | |
| run: npm install | |
| - name: Download VSIX Artifact | |
| uses: actions/download-artifact@v8 | |
| with: | |
| path: /tmp | |
| pattern: 'Linux-*.vsix' | |
| merge-multiple: true | |
| - name: Publish to VS Code Marketplace | |
| run: | | |
| npx vsce verify-pat --pat ${{ secrets.MARKETPLACE_PAT }} | |
| npx vsce publish --packagePath /tmp/*.vsix --pat ${{ secrets.MARKETPLACE_PAT }} --githubBranch master --allow-all-proposed-apis | |
| publish-to-open-vsx: | |
| runs-on: ubuntu-latest | |
| needs: github-release | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22' | |
| - name: Cache npm | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-npm- | |
| - name: Install node dependencies | |
| run: npm install | |
| - name: Download VSIX Artifact | |
| uses: actions/download-artifact@v8 | |
| with: | |
| path: /tmp | |
| pattern: 'Linux-*.vsix' | |
| merge-multiple: true | |
| - name: Publish to Open VSX | |
| run: | | |
| npx ovsx verify-pat --pat ${{ secrets.OPEN_VSX_PAT }} | |
| npx ovsx publish /tmp/*.vsix --pat ${{ secrets.OPEN_VSX_PAT }} | |
| bump-version: | |
| runs-on: ubuntu-latest | |
| needs: publish-to-marketplace | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Get Source Branch | |
| id: source-branch | |
| run: echo "BUMP_BRANCH=$(git symbolic-ref --short HEAD || echo 'master')" >> $GITHUB_ENV | |
| - name: Setup Babashka | |
| uses: DeLaGuardo/setup-clojure@13.6.0 | |
| with: | |
| bb: latest | |
| - name: Bump Version | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: bb ci:bump-version-and-push ${{ env.BUMP_BRANCH}} "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" "${{ github.actor }}" --force |