-
-
Notifications
You must be signed in to change notification settings - Fork 12
45 lines (37 loc) · 883 Bytes
/
release.yml
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
39
40
41
42
43
44
45
name: release
on:
workflow_dispatch:
inputs:
patch:
description: Patch letter to apply to version.
type: string
default: ""
jobs:
release:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- name: checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: set up go
uses: actions/setup-go@v4
with:
go-version: 1.21
- name: set up node
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: "npm"
cache-dependency-path: "ui/package-lock.json"
- name: install node dependencies
run: |
cd ui
npm install
cd ..
- name: build app
run: |
./meta/scripts/deploy ${{ inputs.patch }}