From bd2c4fff5c81957d25bf46f0fe66fabbe1bc1e67 Mon Sep 17 00:00:00 2001 From: lencx Date: Fri, 23 Dec 2022 22:10:27 +0800 Subject: [PATCH] fix: action --- .github/workflows/release.yml | 10 +++++----- README-ZH_CN.md | 6 +++--- README.md | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a08347..a331d32 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: shell: bash run: | echo "using version tag ${GITHUB_REF:10}" - echo ::save-state name=version::"${GITHUB_REF:10}" + echo "version=${GITHUB_REF:10}" >> $GITHUB_ENV - name: Create Release id: create_release @@ -27,8 +27,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: '${{ steps.get_version.outputs.VERSION }}' - release_name: 'ChatGPT ${{ steps.get_version.outputs.VERSION }}' + tag_name: '${{ env.version }}' + release_name: 'ChatGPT ${{ env.version }}' body: 'See the assets to download this version and install.' build-tauri: @@ -63,13 +63,13 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::save-state name=dir::$(yarn config get cacheFolder)" + run: echo "yarndir=$(yarn config get cacheFolder)" >> $GITHUB_ENV - name: Yarn cache uses: actions/cache@v2 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} + path: ${{ env.yarndir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- diff --git a/README-ZH_CN.md b/README-ZH_CN.md index f914392..19e523e 100644 --- a/README-ZH_CN.md +++ b/README-ZH_CN.md @@ -22,9 +22,9 @@ **最新版:** -- `Mac`: [ChatGPT_0.6.2_x64.dmg](https://github.com/lencx/ChatGPT/releases/download/v0.6.2/ChatGPT_0.6.2_x64.dmg) -- `Linux`: [chat-gpt_0.6.2_amd64.deb](https://github.com/lencx/ChatGPT/releases/download/v0.6.2/chat-gpt_0.6.2_amd64.deb) -- `Windows`: [ChatGPT_0.6.2_x64_en-US.msi](https://github.com/lencx/ChatGPT/releases/download/v0.6.2/ChatGPT_0.6.2_x64_en-US.msi) +- `Mac`: [ChatGPT_0.6.3_x64.dmg](https://github.com/lencx/ChatGPT/releases/download/v0.6.3/ChatGPT_0.6.3_x64.dmg) +- `Linux`: [chat-gpt_0.6.3_amd64.deb](https://github.com/lencx/ChatGPT/releases/download/v0.6.3/chat-gpt_0.6.3_amd64.deb) +- `Windows`: [ChatGPT_0.6.3_x64_en-US.msi](https://github.com/lencx/ChatGPT/releases/download/v0.6.3/ChatGPT_0.6.3_x64_en-US.msi) [其他版本...](https://github.com/lencx/ChatGPT/releases) diff --git a/README.md b/README.md index e047147..74a9526 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ **Latest:** -- `Mac`: [ChatGPT_0.6.2_x64.dmg](https://github.com/lencx/ChatGPT/releases/download/v0.6.2/ChatGPT_0.6.2_x64.dmg) -- `Linux`: [chat-gpt_0.6.2_amd64.deb](https://github.com/lencx/ChatGPT/releases/download/v0.6.2/chat-gpt_0.6.2_amd64.deb) -- `Windows`: [ChatGPT_0.6.2_x64_en-US.msi](https://github.com/lencx/ChatGPT/releases/download/v0.6.2/ChatGPT_0.6.2_x64_en-US.msi) +- `Mac`: [ChatGPT_0.6.3_x64.dmg](https://github.com/lencx/ChatGPT/releases/download/v0.6.3/ChatGPT_0.6.3_x64.dmg) +- `Linux`: [chat-gpt_0.6.3_amd64.deb](https://github.com/lencx/ChatGPT/releases/download/v0.6.3/chat-gpt_0.6.3_amd64.deb) +- `Windows`: [ChatGPT_0.6.3_x64_en-US.msi](https://github.com/lencx/ChatGPT/releases/download/v0.6.3/ChatGPT_0.6.3_x64_en-US.msi) [Other version...](https://github.com/lencx/ChatGPT/releases)