Skip to content

1.8.0

1.8.0 #60

Workflow file for this run

name: release
on:
push:
tags:
- "v*.*.*"
jobs:
release:
strategy:
matrix:
platform: [ubuntu-latest]
go-version: ["1.20"]
name: Release
runs-on: ${{ matrix.platform }}
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set Node.js 19.x
uses: actions/setup-node@v3
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
node-version: 19.x
registry-url: "https://registry.npmjs.org"
- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: install --ignore-optional
- name: Build
run: |
yarn run build:client
cp -r dist backend/dist
cd backend
bash build.sh
- name: Upload assets
uses: softprops/action-gh-release@v1
with:
files: backend/build/compress/*