Skip to content

fix soundplay and update for api11 #301

fix soundplay and update for api11

fix soundplay and update for api11 #301

Workflow file for this run

name: .NET Build
on:
push:
branches: '*'
tags-ignore: '*'
pull_request:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup dev names
run: |
((Get-Content -path .\Plugin\EngageTimer.csproj -Raw) -replace '<AssemblyName>EngageTimer','<AssemblyName>EngageTimerDev') | Set-Content -Path .\Plugin\EngageTimer.csproj
((Get-Content -path .\Plugin\EngageTimer.csproj -Raw) -replace '<Name>EngageTimer - Dev Version','<Name>EngageTimerDev') | Set-Content -Path .\Plugin\EngageTimer.csproj
((Get-Content -path .\Plugin\EngageTimer.yaml -Raw) -replace 'name: EngageTimer','name: EngageTimer - Dev Version') | Set-Content -Path .\Plugin\EngageTimer.yaml
Move-Item .\Plugin\EngageTimer.yaml .\Plugin\EngageTimerDev.yaml
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.*
- name: Restore dependencies
run: dotnet restore
- 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: Build
run: |
dotnet build --no-restore --configuration Release --nologo
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: build.zip
path: |
Plugin/bin/Release/EngageTimerDev/latest.zip
Plugin/bin/Release/EngageTimerDev/EngageTimerDev.json
- name: Update testing repository
run: |
Invoke-WebRequest -Uri https://plogon.xorus.dev/update