GBFaker/.github/workflows/pr-build.yml
2026-09-18 11:52:30 +10:00

39 lines
877 B
YAML

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