Skip to content

chore!: cleanup namespaces and adjustments to layout #8

chore!: cleanup namespaces and adjustments to layout

chore!: cleanup namespaces and adjustments to layout #8

Workflow file for this run

name: Publish
on:
push:
tags:
- '*.*.*.*'
jobs:
Build:
permissions:
contents: write
runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Get Environment Variables
run: |
$tag = "${{ github.ref }}" -replace 'refs/tags/', ''
"tag=$tag" | Out-File -Append -FilePath $Env:GITHUB_ENV
- name: Set up .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Download Dalamud Latest
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: Restore Nuget Packages
run: dotnet restore DalamudSystem.csproj
- name: Build DLL
run: dotnet build --no-restore -c Release DalamudSystem.csproj -p:AssemblyVersion=${{ env.tag }} -p:FileVersion=${{ env.tag }} -p:InformationalVersion=${{ env.tag }} --output .\build
- name: Publish DLL
uses: softprops/action-gh-release@v2
with:
files: |
./build/DalamudSystem.dll
./build/DalamudSystem.pdb
token: ${{ secrets.GITHUB_TOKEN }}