Skip to content

Commit dd2c246

Browse files
committed
Provide --fail-with-body curl option in publish workflow
Provide the '--fail-with-body' option to curl inside the publish workflow in order to get additional information on failure and to stay in sync with the publish workflows in other projects.
1 parent b6ca273 commit dd2c246

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 Daniel Mueller <[email protected]>
1+
# Copyright (C) 2023-2024 Daniel Mueller <[email protected]>
22
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
33

44
name: Publish
@@ -54,6 +54,7 @@ jobs:
5454
version: ${{ needs.version.outputs.version }}
5555
run: |
5656
curl --location \
57+
--fail-with-body \
5758
--request POST \
5859
--url https://api.github.com/repos/${{ github.repository }}/releases \
5960
--header "Accept: application/vnd.github+json" \

0 commit comments

Comments
 (0)