Penumbra/.github/workflows/build.yml
Workflow config file is invalid. Please check your config file: yaml: line 5: did not find expected alphabetic or numeric character
2020-12-25 23:56:07 +11:00

33 lines
No EOL
951 B
YAML

name: .NET Build
on:
push:
branches: *
pull_request:
branches: *
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.100
- name: Restore dependencies
run: dotnet restore
- name: Download Dalamud
run: |
Invoke-WebRequest -Uri https://goaaats.github.io/ffxiv/tools/launcher/addons/Hooks/latest.zip -OutFile latest.zip
Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\"
- name: Build
run: |
dotnet build --no-restore --configuration Release --nologo
- name: Archive
run: Compress-Archive -Path Penumbra/bin/Release/* -DestinationPath Penumbra.zip
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.2.1
with:
path: |
./Penumbra/bin/Release/**