Skip to content

Commit

Permalink
testing env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
M3GH4NN committed Mar 15, 2024
1 parent 8a27aa6 commit ac7b620
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ jobs:
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
run: |
env_vars="AZURE_CLIENT_ID=$(echo $AZURE_CLIENT_ID | base64 -w0),"
env_vars+="AZURE_CLIENT_SECRET=$(echo $AZURE_CLIENT_SECRET | base64 -w0),"
env_vars+="AZURE_TENANT_ID=$(echo $AZURE_TENANT_ID | base64 -w0)"
echo "$env_vars" >> $GITHUB_OUTPUT
echo "AZURE_CLIENT_ID=$(echo $AZURE_CLIENT_ID | base64 -w0)" >> $GITHUB_ENV
echo "AZURE_CLIENT_SECRET=$(echo $AZURE_CLIENT_SECRET | base64 -w0)" >> $GITHUB_ENV
echo "AZURE_TENANT_ID=$(echo $AZURE_TENANT_ID | base64 -w0)" >> $GITHUB_ENV
env_vars="AZURE_CLIENT_ID=${AZURE_CLIENT_ID},AZURE_CLIENT_SECRET=${AZURE_CLIENT_SECRET},AZURE_TENANT_ID=${AZURE_TENANT_ID}"
echo "env_vars=$env_vars" >> $GITHUB_OUTPUT
call_central_workflow:
name: CI
Expand Down

0 comments on commit ac7b620

Please sign in to comment.