Skip to content

fix: 修复编译错误 #41

fix: 修复编译错误

fix: 修复编译错误 #41

Workflow file for this run

name: TDP Cloud UI Builder
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Build ui package
run: |
sh build.sh
- name: Compress ui package
run: |
tar czvf ./tdp-cloud-front.tar.gz ./build
- name: Create github release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
body_path: RELEASE.md
draft: false
prerelease: false
files: |
./tdp-cloud-front.tar.gz