Skip to content

Commit

Permalink
Provide --fail-with-body curl option in publish workflow
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
d-e-s-o committed Apr 29, 2024
1 parent b6ca273 commit dd2c246
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 Daniel Mueller <[email protected]>
# Copyright (C) 2023-2024 Daniel Mueller <[email protected]>
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

name: Publish
Expand Down Expand Up @@ -54,6 +54,7 @@ jobs:
version: ${{ needs.version.outputs.version }}
run: |
curl --location \
--fail-with-body \
--request POST \
--url https://api.github.com/repos/${{ github.repository }}/releases \
--header "Accept: application/vnd.github+json" \
Expand Down

0 comments on commit dd2c246

Please sign in to comment.