Skip to content

update dependencies #62

update dependencies

update dependencies #62

Workflow file for this run

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