From 49e2fe69cd5f45938be6bccd656dd2b47da282ce Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Thu, 7 Oct 2021 15:52:53 +0300 Subject: [PATCH] github actions: fix curl command for publishing step --- .github/workflows/packages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index d2072f5753..4fda5c1897 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -271,6 +271,7 @@ jobs: --header 'Content-Type: application/json' \ --request PUT \ --data '{"Signing": {"Passphrase": "${{ secrets.GPG_PASSPHRASE }}"}}' \ + --write-out '|%{http_code}' \ https://packages.termux.org/aptly-api/publish/${REPOSITORY_NAME}/${REPOSITORY_DISTRIBUTION} || true ) http_status_code=$(echo "$curl_response" | cut -d'|' -f2)