mirror of
https://github.com/tauri-apps/tauri-vscode.git
synced 2026-01-31 00:35:18 +01:00
* feat: provide schema for config based on cli version * fallback to latest release * enable commented code * get schema based on tauri-build version * change url * handle schema get request error * Update versioned-schema.md * Update extension.ts
48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
name: covector version
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- dev
|
|
|
|
jobs:
|
|
pr-to-latest:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: git config
|
|
run: |
|
|
git config --global user.name "${{ github.event.pusher.name }}"
|
|
git config --global user.email "${{ github.event.pusher.email }}"
|
|
- name: covector version
|
|
uses: jbolda/covector/packages/action@covector-v0
|
|
id: covector
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
command: 'version-or-publish'
|
|
createRelease: false
|
|
|
|
- name: Create Pull Request With Versions Bumped
|
|
if: steps.covector.outputs.commandRan == 'version'
|
|
uses: tauri-apps/create-pull-request@v3.4.1
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
branch: covector/version-updates
|
|
title: Apply Version Updates From Current Changes
|
|
commit-message: 'apply version updates'
|
|
labels: 'version updates'
|
|
body: ${{ steps.covector.outputs.change }}
|
|
|
|
- name: Trigger publish.yml workflow
|
|
if: |
|
|
steps.covector.outputs.successfulPublish == 'true' &&
|
|
contains(steps.covector.outputs.packagesPublished, 'tauri-vscode')
|
|
uses: peter-evans/repository-dispatch@v2
|
|
with:
|
|
token: ${{ secrets.TAURI_BOT_PAT }}
|
|
repo: tauri-apps/tauri-vscode
|
|
event-type: publish
|