mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-01 03:26:08 -04:00
Release action: Do not fail if "latest" is not set (#793)
This commit is contained in:
parent
5967b98c25
commit
a1d59df1c3
1 changed files with 2 additions and 2 deletions
4
.github/workflows/on-release.yml
vendored
4
.github/workflows/on-release.yml
vendored
|
@ -38,11 +38,11 @@ jobs:
|
|||
aws-region: eu-central-1
|
||||
|
||||
- name: Update OS images
|
||||
working-directory: hack/add-version
|
||||
run: |
|
||||
latest=$( [[ "${{ inputs.latest }}" = "true" ]] && echo "--latest")
|
||||
latest=$([[ "${{ inputs.latest }}" = "true" ]] && echo "--latest" || echo "")
|
||||
go run main.go \
|
||||
--version "${{ github.event.release.tag_name }}${{ github.event.inputs.tag }}" \
|
||||
--stream stable \
|
||||
--release \
|
||||
"${latest}"
|
||||
working-directory: hack/add-version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue