mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-06-30 08:33:32 +00:00
CI: Fix Windows Patches action release notes generation
By not specifying a checkout ref, actions/checkout does a second checkout when this action is invoked by the Publish workflow (release event). When this happens, it checks out the commit object from the tag, and git can no longer locate the annotated tag that contains the release notes. This then causes the release notes to be just the commit message and not the annotated tag message. The sparkle-appcast action in general and this actioo when invoked via the Dispatch workflow do not have this issue, and they both specify the tag as the ref.
This commit is contained in:
parent
fb3e571ce8
commit
32b53ea936
1
.github/actions/windows-patches/action.yaml
vendored
1
.github/actions/windows-patches/action.yaml
vendored
|
@ -25,6 +25,7 @@ runs:
|
|||
with:
|
||||
path: "repo"
|
||||
fetch-depth: 0
|
||||
ref: ${{ inputs.tagName }}
|
||||
|
||||
- name: Download Release Artifact
|
||||
shell: pwsh
|
||||
|
|
Loading…
Reference in a new issue