Tidy up some things, Update LivePose #162
This file contains hidden or 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 Plugin | |
| on: | |
| push: | |
| branches: 'master' | |
| jobs: | |
| build: | |
| if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')" | |
| runs-on: [windows-2022] | |
| steps: | |
| - name: Checkout | |
| uses: actions/[email protected] | |
| with: | |
| submodules: 'true' | |
| fetch-depth: 0 | |
| - name: Setup MSBuild | |
| uses: microsoft/[email protected] | |
| with: | |
| vs-prerelease: true | |
| - name: Setup NuGet | |
| uses: NuGet/[email protected] | |
| - name: Restore NuGet Cache | |
| uses: actions/cache@v3 | |
| id: cache | |
| with: | |
| path: ~/.nuget/packages | |
| key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | |
| - name: Restore NuGet Packages | |
| run: nuget restore SimpleHeels.sln | |
| - name: Download Dalamud | |
| run: | | |
| Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/stg/latest.zip -OutFile latest.zip | |
| Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev" | |
| - name: Build | |
| run: msbuild SimpleHeels.sln /p:Configuration=Release | |
| - name: Extract Artifact | |
| run: | | |
| Expand-Archive -Force ./bin/Release/SimpleHeels/latest.zip ./Artifact | |
| - name: Upload Build Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: ./Artifact/* |