Skip to content

[refactor] Project Structure #33

[refactor] Project Structure

[refactor] Project Structure #33

Workflow file for this run

name: Build My Plugin
on:
push:
branches:
- "master"
pull_request:
branches:
- "master"
workflow_dispatch:
jobs:
build:
name: Build
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.x.x"
- 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 -c Release
- name: Archive
run: Compress-Archive -Path ContactsTracker/bin/x64/Release/* -DestinationPath ContactsTracker.zip
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: build
path: |
ContactsTracker.zip