Skip to content

Commit 8a85313

Browse files
authored
Update to latest GitHub actions (#116)
1 parent 67406c3 commit 8a85313

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ concurrency:
1313

1414
jobs:
1515
build-win:
16-
runs-on: windows-2025
16+
runs-on: windows-2025-vs2026
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v5
19+
uses: actions/checkout@v6
2020
with:
2121
submodules: "recursive"
2222

@@ -37,17 +37,17 @@ jobs:
3737
run: mv build/windows/x64/release/stfc-community-patch.dll version.dll
3838

3939
- name: Upload
40-
uses: actions/upload-artifact@v4
40+
uses: actions/upload-artifact@v7
4141
with:
4242
name: stfc-community-mod
4343
path: version.dll
4444
if-no-files-found: error
4545

4646
build-mac:
47-
runs-on: macos-15
47+
runs-on: macos-26
4848
steps:
4949
- name: Checkout
50-
uses: actions/checkout@v5
50+
uses: actions/checkout@v6
5151
with:
5252
submodules: "recursive"
5353

@@ -59,13 +59,13 @@ jobs:
5959
package-cache-key: ${{ hashFiles('**/xmake.lua', '!win-*/xmake.lua') }}
6060

6161
- name: Configure (arm64)
62-
run: xmake f -p macosx -a "arm64" -m release -y --target_minver=13.5
62+
run: xmake f -p macosx -a "arm64" -m release -y --target_minver=15.4
6363

6464
- name: Build (arm64)
6565
run: xmake -y
6666

6767
- name: Configure (x86)
68-
run: xmake f -p macosx -a "x86_64" -m release -y --target_minver=13.5
68+
run: xmake f -p macosx -a "x86_64" -m release -y --target_minver=15.4
6969

7070
- name: Build (x86)
7171
run: xmake -y
@@ -89,7 +89,7 @@ jobs:
8989
run: create-dmg --filesystem APFS --format ULFO --volname "STFC Community Mod Installer" --volicon assets/launcher.icns --background assets/mac_installer_background.png --window-pos 200 120 --window-size 800 400 --icon-size 100 --icon "STFC Community Mod.app" 200 190 --app-drop-link 600 185 stfc-community-mod-installer.dmg build/macosx/arm64/release/
9090

9191
- name: Upload
92-
uses: actions/upload-artifact@v4
92+
uses: actions/upload-artifact@v7
9393
with:
9494
name: stfc-community-mod-installer
9595
path: stfc-community-mod-installer.dmg

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v5
17+
uses: actions/checkout@v6
1818

1919
# ✅ Step 1 — Check if Build succeeded for this same commit
2020
- name: Check latest Build success
@@ -38,7 +38,7 @@ jobs:
3838

3939
# ✅ Step 2 — Download the Build artifacts
4040
- name: Download artifact from Build workflow
41-
uses: dawidd6/action-download-artifact@v11
41+
uses: dawidd6/action-download-artifact@v18
4242
with:
4343
run_id: ${{ steps.check_build.outputs.build_run_id }}
4444

0 commit comments

Comments
 (0)