This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6aedb2f
commit ee08549
Showing
5 changed files
with
99 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Publish | ||
on: | ||
push: | ||
tags: | ||
- '*.*.*.*' | ||
jobs: | ||
Build: | ||
permissions: | ||
contents: write | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- 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 BasicRotations/DefaultRotations.csproj | ||
|
||
- name: Build Rotations | ||
run: dotnet build --no-restore -c Release BasicRotations/DefaultRotations.csproj -p:AssemblyVersion=${{ env.tag }} -p:FileVersion=${{ env.tag }} -p:InformationalVersion=${{ env.tag }} --output .\build | ||
|
||
- name: Publish Rotations | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
files: ./build/DefaultRotations.dll | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "RotationSolver"] | ||
path = RotationSolver | ||
url = https://github.com/FFXIV-CombatReborn/RotationSolverReborn | ||
[submodule "RotationSolverReborn"] | ||
path = RotationSolverReborn | ||
url = https://github.com/FFXIV-CombatReborn/RotationSolverReborn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule RotationSolverReborn
added at
7f50cc