Skip to content

Commit

Permalink
maybe without -f we'll at least see the failing body
Browse files Browse the repository at this point in the history
  • Loading branch information
finn-block committed Oct 4, 2024
1 parent 66620de commit 0e4eac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e4eac8

Please sign in to comment.