File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
docfx :
9
9
runs-on : ubuntu-latest
10
+ strategy :
11
+ matrix :
12
+ platform : [windows]
13
+ archive-ref : [main]
10
14
steps :
11
15
- name : Checkout Repository
12
16
uses : actions/checkout@v4
15
19
with :
16
20
ref : docs
17
21
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
+
18
44
- name : Build docs
19
45
20
46
with :
You can’t perform that action at this time.
0 commit comments