Skip to content

Commit

Permalink
updated logger statements
Browse files Browse the repository at this point in the history
  • Loading branch information
prdpsvs committed Jan 4, 2025
1 parent d53f1f2 commit a8073f8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,15 @@ jobs:
try:
credential = DefaultAzureCredential()
token = credential.get_token("https://analysis.windows.net/powerbi/api/.default")
with open("token.txt", "w") as file:
file.write(token.token)
print(f"::set-output name=access_token::{token.token}")
except Exception as e:
raise RuntimeError(f"Failed to fetch token: {e}")
EOF
- uses: actions/checkout@v4

- name: Print Token
run: echo "Token from job - ${{ steps.fetch_token.outputs.access_token }}"

- name: Install dependencies
run: pip install -r dev_requirements.txt

Expand Down

0 comments on commit a8073f8

Please sign in to comment.