1
0
mirror of https://github.com/lencx/ChatGPT.git synced 2024-10-01 01:06:13 -04:00

fix: winget release

This commit is contained in:
lencx 2023-01-07 14:57:28 +08:00
parent d7ab912917
commit ee576b9a69
2 changed files with 20 additions and 19 deletions

View File

@ -2,11 +2,8 @@ name: Release CI
on:
push:
branches:
- dev
# # Sequence of patterns matched against refs/tags
# tags:
# - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
create-release:
@ -76,22 +73,22 @@ jobs:
with:
releaseId: ${{ needs.create-release.outputs.RELEASE_UPLOAD_ID }}
updater:
runs-on: ubuntu-20.04
needs: [create-release, build-tauri]
# updater:
# runs-on: ubuntu-20.04
# needs: [create-release, build-tauri]
steps:
- uses: actions/checkout@v2
- run: yarn
- run: yarn updater --token=${{ secrets.GITHUB_TOKEN }}
# steps:
# - uses: actions/checkout@v2
# - run: yarn
# - run: yarn updater --token=${{ secrets.GITHUB_TOKEN }}
- name: Deploy install.json
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# 📝: Edit the deployment directory
publish_dir: ./updater
force_orphan: true
# - name: Deploy install.json
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# # 📝: Edit the deployment directory
# publish_dir: ./updater
# force_orphan: true
publish-winget:
# Action can only be run on windows

View File

@ -1,5 +1,9 @@
# UPDATE LOG
## v0.8.1
fix: winget release
## v0.8.0
feat: