From 0e4eac8b302f42a143071bad693e261e2e4fe5a7 Mon Sep 17 00:00:00 2001 From: finn <fherzfeld@tbd.email> Date: Fri, 4 Oct 2024 12:13:29 -0700 Subject: [PATCH] maybe without -f we'll at least see the failing body --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30a1e75..d8f4395 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,7 +97,7 @@ jobs: -DnewVersion=${{ steps.resolve_version.outputs.resolved_version }} GITHUB_ID_TOKEN="$(curl -sLS -H "User-Agent: actions/oidc-client" -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "${ACTIONS_ID_TOKEN_REQUEST_URL}&audience=jfrog-github" | jq -r .value)" - export ARTIFACTORY_PASSWORD="$(curl -fH "Content-Type: application/json" "https://blockxyz.jfrog.io/access/api/v1/oidc/token" -d "{\"grant_type\": \"urn:ietf:params:oauth:grant-type:token-exchange\", \"subject_token_type\":\"urn:ietf:params:oauth:token-type:access_token\", \"subject_token\": \"${GITHUB_ID_TOKEN}\", \"provider_name\": \"github-oidc\"}" | jq -r .access_token)" + export ARTIFACTORY_PASSWORD="$(curl -H "Content-Type: application/json" "https://blockxyz.jfrog.io/access/api/v1/oidc/token" -d "{\"grant_type\": \"urn:ietf:params:oauth:grant-type:token-exchange\", \"subject_token_type\":\"urn:ietf:params:oauth:token-type:access_token\", \"subject_token\": \"${GITHUB_ID_TOKEN}\", \"provider_name\": \"github-oidc\"}" | jq -r .access_token)" # Maven deploy lifecycle will build, run tests, verify, sign, and deploy mvn deploy --batch-mode --settings .maven_settings.xml -P sign-artifacts