修复action报错

This commit is contained in:
cc
2026-04-25 09:38:06 +08:00
parent a7ea22b1ae
commit c167be53b3
3 changed files with 17 additions and 0 deletions

View File

@@ -287,6 +287,12 @@ jobs:
if: always() && needs.prepare.result == 'success' if: always() && needs.prepare.result == 'success'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out git repository
uses: actions/checkout@v5
with:
ref: ${{ env.TARGET_BRANCH }}
fetch-depth: 1
- name: Update fixed dev release notes - name: Update fixed dev release notes
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -328,6 +328,12 @@ jobs:
if: needs.prepare.outputs.should_build == 'true' && always() if: needs.prepare.outputs.should_build == 'true' && always()
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out git repository
uses: actions/checkout@v5
with:
ref: ${{ env.TARGET_BRANCH }}
fetch-depth: 1
- name: Update preview release notes - name: Update preview release notes
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -252,6 +252,11 @@ jobs:
- release-windows-arm64 - release-windows-arm64
steps: steps:
- name: Check out git repository
uses: actions/checkout@v5
with:
fetch-depth: 1
- name: Generate release notes with platform download links - name: Generate release notes with platform download links
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}