Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update release action #28

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ on:
artifact:
description: Add artifacts to the release. All files from the provided folder(s) are added to the release. Folders or files are seperated by a single whitespace (e.g. file.txt folder/). **Do not use docs/**.
type: string
default: ''
required: false
force:
description: "If force is true, already published releases can be overwritten. Caution: This action deletes already published releases and can **not** be undone!"
Expand All @@ -39,7 +38,7 @@ jobs:
uses: swissfintechinnovations/.github/.github/workflows/reusable-release-workflow.yaml@main
with:
version: ${{ github.event.inputs.version }}
draft: ${{ fromJSON(github.event.inputs.draft) }}
artifact: ${{ fromJSON(github.event.inputs.artifact) }}
force: ${{ fromJSON(github.event.inputs.force) }}
draft: ${{ fromJSON(github.event.inputs.draft) }} # convert string to boolean
artifact: ${{ github.event.inputs.artifact }}
force: ${{ fromJSON(github.event.inputs.force) }} # convert string to boolean
secrets: inherit