mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 19:05:54 +08:00
Don't re-create the release if not necessary
This commit is contained in:
parent
fa636c235b
commit
41c734498f
@ -163,14 +163,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
uses: notpeelz/action-gh-create-release@v5.0.1
|
uses: notpeelz/action-gh-create-release@v5.0.1
|
||||||
|
if: ${{ inputs.publish_release_description }}
|
||||||
with:
|
with:
|
||||||
target: ${{ needs.create-tags.outputs.main_commit }}
|
target: ${{ needs.create-tags.outputs.main_commit }}
|
||||||
tag: ${{ inputs.cura_version }}
|
tag: ${{ inputs.cura_version }}
|
||||||
strategy: replace
|
strategy: replace
|
||||||
title: UltiMaker Cura ${{ inputs.cura_version }}
|
title: UltiMaker Cura ${{ inputs.cura_version }}
|
||||||
draft: true
|
draft: true
|
||||||
body-source: ${{ inputs.publish_release_description && 'file' || 'literal' }}
|
body-source: file
|
||||||
body: ${{ inputs.publish_release_description && 'formatted_changelog.txt' || '' }}
|
body: formatted_changelog.txt
|
||||||
|
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v4.1.7
|
uses: actions/download-artifact@v4.1.7
|
||||||
|
Loading…
x
Reference in New Issue
Block a user