Skip to content

Commit 5f4c709

Browse files
committed
finally getting somewhere
Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com>
1 parent 7042673 commit 5f4c709

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/base-ci-goreleaser.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,12 @@ jobs:
192192
id: prep
193193
run: |
194194
echo "version=$(cat ./distributions/${{ inputs.distribution }}/dist/**/metadata.json | jq '.version')" >> "$GITHUB_OUTPUT"
195+
echo "types=$(cat ./distributions/${{ inputs.distribution }}/dist/**/artifacts.json | jq '.*.type')" >> "$GITHUB_OUTPUT"
195196
196197
- name: Debugging
197198
run: |
198199
echo '${{ steps.prep.outputs.version }}'
200+
echo '${{ steps.prep.outputs.types }}'
199201
200202
# - name: Build container images locally
201203
# if: contains(fromJSON(steps.build-snapshot.outputs.artifacts).*.type, 'Docker Image') == 'true'

0 commit comments

Comments
 (0)