Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 29 additions & 25 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,37 @@
name: Build FFXIV Zoom Hack

on: [push, pull_request, workflow_dispatch]
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout repository
uses: actions/checkout@v1

- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
with:
vs-version: '[17,18)'
msbuild-architecture: x64

- name: Setup NuGet
uses: NuGet/setup-nuget@v2

- name: Restore NuGet packages
run: nuget restore .\FFXIVZoomHack.sln

- name: Build release application
run: msbuild /t:rebuild /p:Configuration=Release .\FFXIVZoomHack.sln

- name: Archive build artifacts
uses: actions/upload-artifact@v4
with:
name: "FFXIVZoomHack.exe"
path: "FFXIVZoomHack\\bin\\Release\\FFXIVZoomHack.exe"
if-no-files-found: 'error'
- name: Checkout code
uses: actions/checkout@v4

- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'

- name: Restore dependencies
run: dotnet restore

- name: Build the project
run: dotnet build --configuration Release

- name: Publish the project
run: dotnet publish FFXIVZoomHack/FFXIVZoomHack.csproj -c Release -r win-x64 --self-contained false -p:PublishSingleFile=true -p:PublishReadyToRun=true -o ./publish

- name: Upload publish folder as artifact
uses: actions/upload-artifact@v4
with:
name: publish
path: ./publish
10 changes: 5 additions & 5 deletions FFXIVZoomHack.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FFXIVZoomHack", "FFXIVZoomH
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
Debug|x64 = Debug|x64
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A1EC889D-0BEB-4924-8D2F-DEF3B3EBA9CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A1EC889D-0BEB-4924-8D2F-DEF3B3EBA9CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A1EC889D-0BEB-4924-8D2F-DEF3B3EBA9CD}.Release|Any CPU.Build.0 = Release|Any CPU
{A1EC889D-0BEB-4924-8D2F-DEF3B3EBA9CD}.Debug|x64.ActiveCfg = Debug|x64
{A1EC889D-0BEB-4924-8D2F-DEF3B3EBA9CD}.Debug|x64.Build.0 = Debug|x64
{A1EC889D-0BEB-4924-8D2F-DEF3B3EBA9CD}.Release|x64.ActiveCfg = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
34 changes: 0 additions & 34 deletions FFXIVZoomHack/App.config

This file was deleted.

282 changes: 11 additions & 271 deletions FFXIVZoomHack/FFXIVZoomHack.csproj

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions FFXIVZoomHack/FodyWeavers.xml

This file was deleted.

Loading