mirror of
https://github.com/Unkn0wnCat/matrix-veles.git
synced 2025-04-29 18:26:48 +02:00
Update release.yml
Signed-off-by: Kevin Kandlbinder <kevin@kevink.dev>
This commit is contained in:
parent
a78bb46124
commit
845aa3b6cd
1 changed files with 24 additions and 9 deletions
33
.github/workflows/release.yml
vendored
33
.github/workflows/release.yml
vendored
|
@ -5,6 +5,26 @@ on:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
build-webui:
|
||||||
|
name: Build WebUI
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: "18.x"
|
||||||
|
- run: yarn
|
||||||
|
name: WebUI - Install Dependencies
|
||||||
|
working-directory: webui
|
||||||
|
- run: yarn build
|
||||||
|
name: WebUI - Build
|
||||||
|
working-directory: webui
|
||||||
|
- name: WebUI - Upload artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: webui-dist
|
||||||
|
path: webui/build
|
||||||
releases-matrix:
|
releases-matrix:
|
||||||
name: Release Go Binary
|
name: Release Go Binary
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -20,16 +40,11 @@ jobs:
|
||||||
goos: windows
|
goos: windows
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js
|
- name: Download WebUI build
|
||||||
uses: actions/setup-node@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
node-version: "18.x"
|
name: webui-dist
|
||||||
- run: yarn
|
path: webui/build
|
||||||
name: WebUI - Install Dependencies
|
|
||||||
working-directory: webui
|
|
||||||
- run: yarn build
|
|
||||||
name: WebUI - Build
|
|
||||||
working-directory: webui
|
|
||||||
- uses: wangyoucao577/go-release-action@v1.30
|
- uses: wangyoucao577/go-release-action@v1.30
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue