Release RustOwl #31
Workflow file for this run
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 RustOwl | ||
on: | ||
push: | ||
tags: | ||
- v* | ||
jobs: | ||
check: | ||
uses: ${{ github.repository }}/.github/workflows/check.yml@main | ||
Check failure on line 10 in .github/workflows/release.yaml
|
||
extension: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- check | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- name: Install dependencies | ||
run: yarn install --frozen-locked | ||
working-directory: ./vscode | ||
- name: Create VSIX | ||
run: yarn build | ||
working-directory: ./vscode | ||
- name: Publish VSCode extension | ||
run: echo "${{ secrets.VSCODE_TOKEN }}" | yarn vsce publish | ||
working-directory: ./vscode | ||
- name: Release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
body: auto RustOwl update | ||
files: | | ||
./vscode/**/*.vsix | ||
./rustowl/install.sh | ||
draft: true |