mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Don't re-create the release if not necessary
This commit is contained in:
parent
fa636c235b
commit
41c734498f
1 changed files with 3 additions and 2 deletions
|
@ -163,14 +163,15 @@ jobs:
|
|||
|
||||
- name: Create release
|
||||
uses: notpeelz/action-gh-create-release@v5.0.1
|
||||
if: ${{ inputs.publish_release_description }}
|
||||
with:
|
||||
target: ${{ needs.create-tags.outputs.main_commit }}
|
||||
tag: ${{ inputs.cura_version }}
|
||||
strategy: replace
|
||||
title: UltiMaker Cura ${{ inputs.cura_version }}
|
||||
draft: true
|
||||
body-source: ${{ inputs.publish_release_description && 'file' || 'literal' }}
|
||||
body: ${{ inputs.publish_release_description && 'formatted_changelog.txt' || '' }}
|
||||
body-source: file
|
||||
body: formatted_changelog.txt
|
||||
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v4.1.7
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue