From 7230405b26c7f44270c34ccb6eb3c06cd7242a1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=B3=E6=9E=97=20=E6=B2=88?= Date: Wed, 3 Aug 2022 21:00:54 +0800 Subject: [PATCH] fix: remove fontSettings permission --- .github/workflows/main.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 83b92ff..e8826f2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,8 +9,6 @@ env: on: # Triggers the workflow on push or pull request events but only for the "master" branch push: - tags: - - "v*.*.*" branches: ["master", "beta"] pull_request: branches: ["master", "beta"] @@ -28,9 +26,13 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: + - uses: actions/checkout@v3 - name: Set env - uses: actions/checkout@v3 - - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + - name: Show env + run: | + echo $RELEASE_VERSION + echo ${{ env.RELEASE_VERSION }} # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }}