Files
Waypoints14/.github/workflows/pr-build.yml
T
2026-01-19 22:37:50 +01:00

40 lines
881 B
YAML

name: Sample PR Builder for SamplePlugin
on:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-2022
env:
Solution_Name: SamplePlugin
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 9.0.x
- 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: Build with dotnet
run: dotnet build --configuration Release
- name: Store artifacts
uses: actions/upload-artifact@v4
with:
name: SamplePlugin
path: .\SamplePlugin\bin\x64\Release\SamplePlugin\*
if-no-files-found: error
retention-days: 1