Skip to content

Commit

Permalink
build: Configure GitHub Actions workflow environment
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenTCramer committed Oct 20, 2024
1 parent 5ffdba2 commit a434d11
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ on:
branches: [ main ]
workflow_dispatch:

env:
DOTNET_NOLOGO: true # Disable the .NET logo in the console output
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true # Disable the .NET first time experience to skip caching NuGet packages and speed up the build
DOTNET_CLI_TELEMETRY_OPTOUT: true

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

jobs:
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit a434d11

Please sign in to comment.