This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# File: .github/workflows/workflow.yml | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# checkout the repo | |
- uses: actions/checkout@master | |
- uses: Azure/login@v1 | |
with: | |
creds: ${{ secrets.AZURE_CREDENTIALS }} | |
- uses: Azure/get-keyvault-secrets@v1 | |
with: | |
keyvault: "kvvirtualteacher" | |
secrets: 'subscription-id' # comma separated list of secret keys that need to be fetched from the Key Vault | |
id: myGetSecretAction | |
- run : echo ${{ steps.myGetSecretAction.outputs.subscription-id }} | |