PalacePal/.github/workflows/build.yml

33 lines
768 B
YAML
Raw Normal View History

2023-02-12 21:45:57 +00:00
name: dotnet build
2023-02-12 21:24:22 +00:00
on:
2023-02-12 21:45:57 +00:00
push:
2023-02-15 01:40:05 +00:00
paths-ignore:
2023-02-12 21:45:57 +00:00
- '**.md'
- 'Dockerfile'
2023-02-12 21:24:22 +00:00
jobs:
build:
2023-02-12 21:40:43 +00:00
runs-on: windows-latest
2023-02-25 00:26:05 +00:00
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 'true'
2023-02-12 21:24:22 +00:00
steps:
- uses: actions/checkout@v3
2023-02-12 21:32:22 +00:00
with:
submodules: true
2023-02-12 21:24:22 +00:00
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0
2023-02-12 21:40:43 +00:00
- 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\"
2023-02-12 21:24:22 +00:00
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore