DTR updates #115
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: .NET Build | |
on: | |
push: | |
branches: '*' | |
tags-ignore: '*' | |
pull_request: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '7.x.x' | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Download Dalamud | |
if: "!contains(github.event.head_commit.message, '[stg]')" | |
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: Download Dalamud staging | |
if: "contains(github.event.head_commit.message, '[stg]')" | |
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: Build | |
run: | | |
dotnet build --no-restore --configuration Release --nologo | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
path: | | |
./Orchestrion/bin/Release/Orchestrion/* |