fix: 防止重复修改标题 #40
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |