Merge pull request #95 from Etheirys/actorname #354
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 Brio - Dalamud Staging | |
on: | |
push: | |
branches: | |
- main | |
tags-ignore: '*' | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Install .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.x | |
- name: Download Dalamud | |
run: | | |
Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/stg/latest.zip -OutFile latest.zip | |
Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev" | |
- name: Restore Dependencies | |
run: dotnet restore Brio.sln | |
- name: Build Brio | |
run: dotnet build --no-restore Brio.sln /p:Configuration=Release /p:DebugType=None /p:DebugSymbols=false /p:Version=0.0.0.1 | |
- name: Zip Release | |
uses: TheDoctor0/zip-release@0.6.0 | |
with: | |
filename: '../../../../Brio.zip' | |
directory: './Brio/bin/x64/Release/' | |
exclusions: '*.pdb* *.xml*' | |
- name: Upload a Build Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
path: | | |
./Brio.zip |