-
-
Notifications
You must be signed in to change notification settings - Fork 70
38 lines (33 loc) · 913 Bytes
/
release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Release RustOwl
on:
push:
tags:
- v*
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
extension:
runs-on: ubuntu-latest
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: ./rustowl-vscode
- name: Create VSIX
run: yes | yarn build
working-directory: ./rustowl-vscode
- name: Create server zip
run: zip rustowl-server.zip ./rustowl-server/**/*
- name: Release
uses: softprops/action-gh-release@v2
with:
body: auto RustOwl update
files: "./rustowl-vscode/**/rustowl-*.vsix,./rustowl-server.zip,./rustowl-server/install.sh"