Skip to content

Commit add2c5e

Browse files
committed
Enable CI build
1 parent 8adb612 commit add2c5e

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ jobs:
1818
- name: Setup .NET
1919
uses: actions/setup-dotnet@v3
2020
with:
21-
dotnet-version: 7.0.x
21+
dotnet-version: 8.0.x
2222
- name: Download Dalamud
2323
shell: pwsh
2424
run: |
25-
Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/stg/latest.zip -OutFile latest.zip
26-
Expand-Archive -Force latest.zip /tmp/dalamud
25+
$versionInfo = Invoke-RestMethod -Uri "https://aonyx.ffxiv.wang/Dalamud/Release/VersionInfo"
26+
$downloadUrl = $versionInfo.downloadUrl
27+
Invoke-WebRequest -Uri $downloadUrl -OutFile latest.7z
28+
7z x latest.7z -o/tmp/dalamud
2729
- name: Build
2830
run: dotnet build -c release
2931
- name: Prepare Build Artifact
@@ -46,8 +48,8 @@ jobs:
4648
}
4749
Write-Output "RELEASE_VERSION=$($build.AssemblyVersion)" >> $env:GITHUB_ENV
4850
$repo.AssemblyVersion = $repo.TestingAssemblyVersion = $build.AssemblyVersion
49-
$repo.DownloadLinkInstall = 'https://github.com/marzent/IINACT/releases/download/v' + $repo.AssemblyVersion + '/IINACT.zip'
50-
$repo.DownloadLinkTesting = 'https://github.com/marzent/IINACT/releases/download/v' + $repo.TestingAssemblyVersion + '/IINACT.zip'
51+
$repo.DownloadLinkInstall = 'https://github.com/Menci/IINACT/releases/download/v' + $repo.AssemblyVersion + '/IINACT.zip'
52+
$repo.DownloadLinkTesting = 'https://github.com/Menci/IINACT/releases/download/v' + $repo.TestingAssemblyVersion + '/IINACT.zip'
5153
$repo.DownloadLinkUpdate = $repo.DownloadLinkInstall
5254
$repo | ConvertTo-Json | % { "[`n" + $_ + "`n]" } | Set-Content 'repo.json'
5355
- name: Create Release

repo.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
"Author": "Usagi",
44
"Name": "IINACT",
55
"InternalName": "IINACT",
6-
"AssemblyVersion": "2.7.2.0",
7-
"TestingAssemblyVersion": "2.7.2.0",
6+
"AssemblyVersion": "0.0.0.0",
7+
"TestingAssemblyVersion": "0.0.0.0",
88
"Description": "A plugin to run the FFXIV_ACT_Plugin in an ACT-like environment with a heavily modified port of Overlay Plugin for modern .NET",
99
"ApplicableVersion": "any",
10-
"RepoUrl": "https://github.com/marzent/IINACT",
10+
"RepoUrl": "https://github.com/Menci/IINACT",
1111
"Tags": [
1212
"parsing",
1313
"plugin",
1414
"ACT"
1515
],
1616
"DalamudApiLevel": 10,
1717
"LoadPriority": 0,
18-
"IconUrl": "https://raw.githubusercontent.com/marzent/IINACT/master/images/icon.png",
18+
"IconUrl": "https://raw.githubusercontent.com/Menci/IINACT/master/images/icon.png",
1919
"Punchline": "A parsing plugin.",
2020
"IsHide": "False",
2121
"IsTestingExclusive": "False",
22-
"DownloadLinkInstall": "https://github.com/marzent/IINACT/releases/download/v2.7.2.0/IINACT.zip",
23-
"DownloadLinkTesting": "https://github.com/marzent/IINACT/releases/download/v2.7.2.0/IINACT.zip",
24-
"DownloadLinkUpdate": "https://github.com/marzent/IINACT/releases/download/v2.7.2.0/IINACT.zip"
22+
"DownloadLinkInstall": "https://github.com/Menci/IINACT/releases/download/v0.0.0.0/IINACT.zip",
23+
"DownloadLinkTesting": "https://github.com/Menci/IINACT/releases/download/v0.0.0.0/IINACT.zip",
24+
"DownloadLinkUpdate": "https://github.com/Menci/IINACT/releases/download/v0.0.0.0/IINACT.zip"
2525
}
2626
]

0 commit comments

Comments
 (0)