name: dotnet build on: push: paths-ignore: - '**.md' - 'Dockerfile' jobs: build: runs-on: windows-latest env: DOTNET_CLI_TELEMETRY_OPTOUT: 'true' steps: - uses: actions/checkout@v3 with: submodules: true - name: Setup .NET SDK uses: actions/setup-dotnet@v3 with: dotnet-version: 7.0 - name: Download Dalamud run: | Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/latest.zip -OutFile latest.zip Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev\" - name: Install dependencies run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore - name: Test run: dotnet test --no-restore --verbosity normal