mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-05 04:19:02 +08:00
chore(release): update fetch depth in GitHub Actions workflow
- Changed the fetch depth to 0 in the release workflow to ensure all history is available for tagging. This adjustment improves the accuracy of the release process.
This commit is contained in:
parent
c9f12c2e49
commit
2a0484ede2
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
|||||||
- name: Check out Git repository
|
- name: Check out Git repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: main
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Get release tag
|
- name: Get release tag
|
||||||
id: get-tag
|
id: get-tag
|
||||||
@ -149,4 +149,4 @@ jobs:
|
|||||||
token: ${{ secrets.REPO_DISPATCH_TOKEN }}
|
token: ${{ secrets.REPO_DISPATCH_TOKEN }}
|
||||||
repository: CherryHQ/cherry-studio-docs
|
repository: CherryHQ/cherry-studio-docs
|
||||||
event-type: update-download-version
|
event-type: update-download-version
|
||||||
client-payload: '{"version": "${{ steps.get-tag.outputs.tag }}"}'
|
client-payload: '{"version": "${{ steps.get-tag.outputs.tag }}"}'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user