Skip to content

Commit 53966b1

Browse files
committed
CI try #1
1 parent 9e002c7 commit 53966b1

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ on:
66

77
jobs:
88
build:
9-
# This is a *private* build container.
10-
# See docs/github_actions.md for more information.
11-
container: ghcr.io/dbalatoni13/nfs-gc-build:main
12-
13-
runs-on: ubuntu-latest
9+
runs-on: windows-2022
1410
strategy:
1511
fail-fast: false
1612
matrix:
@@ -30,7 +26,12 @@ jobs:
3026

3127
# Copy the original files to the workspace
3228
- name: Prepare
33-
run: cp -R /orig .
29+
shell: pwsh
30+
run: |
31+
curl -L -H "Authorization: Bearer ${{ secrets.ORIG_FILES_TOKEN }}" `
32+
-H "Accept: application/octet-stream" `
33+
"https://github.com/dbalatoni13/nfs-gc-build/releases/download/${{ matrix.version }}/main.dol" `
34+
--output orig/${{ matrix.version }}/sys/main.dol
3435
3536
# Build the project
3637
- name: Build

0 commit comments

Comments
 (0)