mirror of
https://github.com/lencx/ChatGPT.git
synced 2024-10-01 01:06:13 -04:00
fix: action
This commit is contained in:
parent
3ca66cf309
commit
bd2c4fff5c
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -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-
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user