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

View File

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