bump league toolkit version #60
This file contains 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: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
env: | |
BUILD_CONFIG: "Release" | |
LOL2GLTF_PROJECT: "lol2gltf" | |
LOL2GLTF_CLI_PROJECT: "lol2gltf.CLI" | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache NuGet packages | |
uses: actions/cache@v3 | |
with: | |
path: ~/.nuget/packages | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-nuget- | |
- name: Setup .NET | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 6.x | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build lol2gltf | |
run: dotnet build ${{ env.LOL2GLTF_PROJECT }} --configuration ${{ env.BUILD_CONFIG }} --no-restore | |
- name: Build lol2gltf.CLI | |
run: dotnet build ${{ env.LOL2GLTF_CLI_PROJECT }} --configuration ${{ env.BUILD_CONFIG }} --no-restore | |