Skip to content

Updated GitHub actions to .NET 8 SDK. #26

Updated GitHub actions to .NET 8 SDK.

Updated GitHub actions to .NET 8 SDK. #26

name: .NET Core (build)
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
BUILD_RERUN_COUNT: ${{ github.run_attempt }}
steps:
- uses: actions/checkout@main
- name: Install latest .NET 8 SDK
uses: Elskom/setup-latest-dotnet@main
with:
VERSION_MAJOR: '8'
VERSION_BAND: '2xx'
- name: Restore, Build, and pack
uses: Elskom/build-dotnet@main
with:
TEST: false
PACK: true