fixing the sort so it doesnt crash the ui #147
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 RadarPlugin | |
on: | |
push: | |
branches: 'main' | |
jobs: | |
build: | |
if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')" | |
runs-on: [ windows-2022 ] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'true' | |
- name: Setup MSBuild | |
uses: microsoft/[email protected] | |
with: | |
vs-prerelease: true | |
- name: Setup NuGet | |
uses: NuGet/[email protected] | |
- name: Restore NuGet Packages | |
run: dotnet restore | |
- name: Download Dalamud | |
if: "!contains(github.event.head_commit.message, '[stg]')" | |
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: Download Dalamud staging | |
if: "contains(github.event.head_commit.message, '[stg]')" | |
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 RadarPlugin.sln /p:Configuration=Release | |
- name: Upload Build Artifact | |
uses: actions/[email protected] | |
with: | |
path: ./RadarPlugin/bin/x64/Release/* |