Skip to content

Commit

Permalink
WIP: different imports
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaso committed Mar 29, 2024
1 parent 8409597 commit 0a621be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ runs:
id: vault_auth
shell: python
run: |
import vault_oidc_ssh_cert_action as vosca
vosca.github_vault_auth()
from vault_oidc_ssh_cert_action import github_vault_auth
github_vault_auth()
env:
PYTHONPATH: ${{ github.action_path }}
JWT_AUDIENCE: ${{ inputs.jwt_audience }}
Expand All @@ -52,8 +52,8 @@ runs:
id: generator
shell: python
run: |
import vault_oidc_ssh_cert_action as vosca
vosca.generate_and_sign()
from vault_oidc_ssh_cert_action import generate_and_sign
generate_and_sign()
env:
PYTHONPATH: ${{ github.action_path }}
SSH_BACKEND: ${{ inputs.ssh_backend_path }}
Expand Down

0 comments on commit 0a621be

Please sign in to comment.