Update obtain-subscription.yml #10
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
name: Obtain Subscription Id | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
ObtainId: | |
name: Obtain Subscription Id | |
runs-on: ubuntu-latest | |
steps: | |
- shell: bash | |
env: | |
SUBSCRIPTION: ${{ secrets.AZURE_SUBSCRIPTION }} | |
run: | | |
echo $SUBSCRIPTION | awk '{print substr($0,1,30)}' | |