Skip to content

build: update actions #10

build: update actions

build: update actions #10

Workflow file for this run

name: Build
on:
[ push, pull_request, workflow_dispatch ]
env:
SOLUTION_NAME: AutoSweep
ZIP_PATH: bin\Release\autoSweep
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup MSBuild
uses: microsoft/[email protected]
- name: Download Dalamud
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: Build
run: |
dotnet restore
dotnet build -c Release
- name: Create artifact
uses: actions/upload-artifact@v4
with:
name: ReleaseZip
path: ${{ env.ZIP_PATH }}
if-no-files-found: error