chore(deps): update dependency workleap.dotnet.codingstandards to 1.1.3 #116
Workflow file for this run
This file contains hidden or 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: Publish | |
| on: | |
| push: | |
| branches: ["main"] | |
| tags: ["*.*.*"] | |
| # We are using OpenID Connect to authenticate with Azure with secret. | |
| # https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-azure | |
| permissions: | |
| id-token: write | |
| contents: read | |
| jobs: | |
| main: | |
| runs-on: [self-hosted, idp] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: 'Azure CLI login' | |
| uses: azure/login@v2 | |
| with: | |
| client-id: ${{ vars.AZURE_CLIENT_ID }} | |
| tenant-id: ${{ vars.AZURE_TENANT_ID }} | |
| subscription-id: ${{ vars.AZURE_SUBSCRIPTION_ID }} | |
| - name: Get Secrets from Azure Key Vault | |
| id: get_secrets | |
| run: | | |
| # Set env.WORKLEAP_NUGET_API_KEY | |
| WORKLEAP_NUGET_API_KEY=$(az keyvault secret show --vault-name ${{ vars.IDP_CICD_KEYVAULT_NAME }} --name "nuget-org-workleap-api-key" --query value -o tsv) | |
| echo "::add-mask::$WORKLEAP_NUGET_API_KEY" | |
| echo "workleap_nuget_api_key=$WORKLEAP_NUGET_API_KEY" >> $GITHUB_OUTPUT | |
| - uses: actions/setup-dotnet@v4 | |
| with: | |
| global-json-file: "global.json" | |
| - run: ./Build.ps1 | |
| shell: pwsh | |
| env: | |
| NUGET_SOURCE: ${{ secrets.NUGET_SOURCE }} | |
| NUGET_API_KEY: ${{ steps.get_secrets.outputs.workleap_nuget_api_key }} | |
| linearb: | |
| needs: [main] | |
| uses: workleap/wl-reusable-workflows/.github/workflows/linearb-deployment.yml@main | |
| with: | |
| environment: 'release' | |
| permissions: | |
| id-token: write | |
| contents: read |