From 9339da7c419b4e100e045c0036f6c4b480a3aba4 Mon Sep 17 00:00:00 2001 From: Tristan Date: Thu, 9 Jan 2025 17:07:04 +0100 Subject: [PATCH] tell curl to fail in case of http error --- .forgejo/workflows/publish-composer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/publish-composer.yml b/.forgejo/workflows/publish-composer.yml index 697e77b..0ba94fa 100644 --- a/.forgejo/workflows/publish-composer.yml +++ b/.forgejo/workflows/publish-composer.yml @@ -27,7 +27,7 @@ jobs: - name: Publish to Forgejo Package Registry run: | - curl --request PUT \ + curl --request PUT --fail \ --url "https://git.fucktheforce.de/api/packages/${{ github.repository_owner }}/composer?version=${{ github.event.release.tag_name }}" \ --header "Authorization: Bearer ${{ secrets.WORKFLOW_TOKEN }}" \ --header "Content-Type: application/zip" \