Skip to content

Merge pull request #10 from SimonCropp/dispose-of-response #39

Merge pull request #10 from SimonCropp/dispose-of-response

Merge pull request #10 from SimonCropp/dispose-of-response #39

Workflow file for this run

name: Build
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
- develop
- hotfix/*
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
permissions:
contents: write
id-token: write
packages: write
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- name: Get the sources
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install .NET SDK
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json
- name: Run Cake script
uses: cake-build/cake-action@v2
env:
NuGetReportSettings_SharedKey: ${{ secrets.NUGETREPORTSETTINGS_SHAREDKEY }}
NuGetReportSettings_WorkspaceId: ${{ secrets.NUGETREPORTSETTINGS_WORKSPACEID }}
GH_PACKAGES_NUGET_SOURCE: ${{ secrets.GH_PACKAGES_NUGET_SOURCE }}
NUGET_SOURCE: ${{ secrets.NUGET_SOURCE }}
NUGET_APIKEY: ${{ secrets.NUGET_APIKEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_AUTHORITY_HOST: "https://login.microsoftonline.com"
AZURE_STORAGE_ACCOUNT: ${{ secrets.AZURE_STORAGE_ACCOUNT }}
AZURE_STORAGE_ACCOUNT_CONTAINER: ${{ secrets.AZURE_STORAGE_ACCOUNT_CONTAINER }}${{ matrix.os }}
with:
cake-version: tool-manifest
target: GitHub-Actions