Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm authored Apr 30, 2023
1 parent 5a75efb commit 27ca8ec
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,14 @@ jobs:
resp=$(curl -X POST https://pypi.org/_/oidc/github/mint-token -d "{\"token\":${oidc_token}}")
api_token=$(jq '.token' <<< "${resp}")
# remove the " signs at the beginning and the end
api_token=$(echo ${api_token:1:-1})
api_token=$(echo ${api_token})
echo "API ${api_token}"
#api_token=$(echo ${api_token})
#echo "API ${api_token}"
api_token=$(echo ${api_token} | tr -dc '[:print:]' )
echo "API ${api_token}"
#api_token=$(echo ${api_token} | tr -dc '[:print:]' )
#echo "API ${api_token}"
# see the next step in the workflow for an example of using this step output
echo "api-token=${api_token}" >> ${GITHUB_OUTPUT}
Expand Down

0 comments on commit 27ca8ec

Please sign in to comment.