Fix 更整洁的跨界传送菜单。 #3
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 SimpleTweaksPlugin for PullRequest | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: [windows-2022] | |
steps: | |
- uses: actions/checkout@v3 | |
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 Packages | |
run: nuget restore dev/SimpleTweaksPlugin.Dev.sln | |
- name: Download Dalamud | |
run: | | |
Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/v9/latest.zip -OutFile latest.zip | |
Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev" | |
- name: Build | |
run: msbuild dev/SimpleTweaksPlugin.Dev.sln /p:Configuration=Debug | |
- name: Extract Publish | |
run: | | |
Expand-Archive -Force ./bin/x64/Debug/SimpleTweaksPlugin/latest.zip ./Artifact | |
- name: Upload Build Artifact | |
uses: actions/[email protected] | |
with: | |
name: pr-artifact | |
path: ./Artifact/* |