Skip to content

Commit

Permalink
add oidc claim debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
mnbf9rca authored Sep 12, 2024
1 parent 1ce1550 commit ad3ed75
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/deploy_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ jobs:
environment:
name: ${{ inputs.target-environment }}
steps:
- name: Checkout actions-oidc-debugger
uses: actions/checkout@v3
with:
repository: github/actions-oidc-debugger
ref: main
token: ${{ secrets.your-checkout-token }}
path: ./.github/actions/actions-oidc-debugger
- name: Debug OIDC Claims
uses: ./.github/actions/actions-oidc-debugger

- name: get workspacedir
# see https://github.com/actions/runner/issues/2058#issuecomment-1308554566
shell: bash
Expand All @@ -40,11 +50,6 @@ jobs:
- name: show files
run: |
find ${{ env.GITHUB_WORKSPACE }}/dist -type f
# - name: extract version from pyproject.toml
# run: |
# version=$(grep 'version =' pyproject.toml | awk '{print $3}' | sed 's/"//g')
# echo "VERSION=$version" >> $GITHUB_ENV
# echo "extracted version '{{ $env.VERSION }}' from pyproject.toml"
- name: Publish package distributions to ${{ inputs.target-environment }}
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down

0 comments on commit ad3ed75

Please sign in to comment.