Skip to content

Commit 818e49f

Browse files
committed
Attempt fixing docs by pulling in unity binaries.
1 parent 5fd91f4 commit 818e49f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/docs.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
jobs:
88
docfx:
99
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
platform: [windows]
13+
archive-ref: [main]
1014
steps:
1115
- name: Checkout Repository
1216
uses: actions/checkout@v4
@@ -15,6 +19,28 @@ jobs:
1519
with:
1620
ref: docs
1721
path: docs
22+
23+
- name: Read Versions
24+
run: |
25+
HKV=$(cat ./hollowknight.version)
26+
echo "HK_VERSION=$HKV" >> $GITHUB_ENV
27+
- name: Checkout Binaries
28+
uses: actions/checkout@v4
29+
with:
30+
repository: hk-modding/hk-binary-archives
31+
ref: ${{ matrix.archive-ref }}
32+
ssh-key: ${{ secrets.BINARY_ARCHIVE_DEPLOY_KEY }}
33+
sparse-checkout: |
34+
${{ env.HK_VERSION }}/managed.${{ matrix.platform }}.tar.gz
35+
sparse-checkout-cone-mode: false
36+
path: ./hk-binary-archives
37+
persist-credentials: false
38+
- name: Unpack Archive
39+
run: |
40+
mkdir Vanilla
41+
cd ./Vanilla
42+
tar -xzf ../hk-binary-archives/${{ env.HK_VERSION }}/managed.${{ matrix.platform }}.tar.gz
43+
1844
- name: Build docs
1945
uses: nunit/[email protected]
2046
with:

0 commit comments

Comments
 (0)