-
Notifications
You must be signed in to change notification settings - Fork 36
39 lines (37 loc) · 1010 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
39
name: Release Builds
on:
release:
types: [created]
jobs:
release:
name: Release Server
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: "18"
- name: Build Site
run: npm install -g yarn && yarn install && yarn build
working-directory: ./embedg-site
- name: Build App
run: npm install -g yarn && yarn install && yarn build
working-directory: ./embedg-app
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ">=1.21.0"
check-latest: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
workdir: embedg-server
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}