Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
crohr committed May 30, 2024
1 parent 3a8896e commit b53594b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ inputs:
token:
description: 'Token to use for authentication'
required: true
force:
description: 'Publish even if the artefact already exists, and auto-create the channel if it does not exist'
required: false
default: "true"

outputs:
id:
Expand All @@ -42,4 +46,5 @@ runs:
curl --fail-with-body -u "${{ inputs.token }}" -i -X POST "${url}" \
-F "artefact=@${{ inputs.artefact }}" \
-F "targets[]=${TARGET/://}" \
-F "channels[]=$CHANNEL"
-F "channels[]=$CHANNEL"
-F force=${{ inputs.force }}

0 comments on commit b53594b

Please sign in to comment.