#4 : Implement Attach artifact to a release action #6
+1
-1
@@ -19,6 +19,6 @@ runs:
|
||||
env:
|
||||
$NAME: ${{ inputs.name }}
|
||||
run: |
|
||||
name="${$NAME:-${{ inputs.file }}}"
|
||||
name="${NAME:-${{ inputs.file }}}"
|
||||
curl --fail-with-body -X POST -H "Authorization: token ${ACTI_BOT_TOKEN}" -F "attachment=@${{ inputs.file }}" \
|
||||
${{ gitea.api_url }}/repos/${{ gitea.repository }}/releases/${{ inputs.release }}/assets?name=${name}
|
||||
Reference in New Issue
Block a user