From a1dbcae8fe7793fbeeda4c4fd9ca32f23784aef9 Mon Sep 17 00:00:00 2001 From: purocean Date: Tue, 27 Oct 2020 16:04:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8F=91=E5=B8=83=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dd446328f..ed4bfc3f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,4 @@ -# This is a basic workflow to help you get started with Actions - -name: CI +name: Release on: push: @@ -18,15 +16,14 @@ jobs: uses: actions/setup-node@v2.1.2 with: node-version: 12.x - + - name: Install run: | - npm install -g yarn ./win-install.bat cd frontend yarn cd .. - + - name: Build run: | cd frontend @@ -36,8 +33,9 @@ jobs: - name: GH Release uses: softprops/action-gh-release@v0.1.5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: files: | out/Yank-Note*.* out/latest*.yml -