Skip to content

Commit 2d8f9d3

Browse files
committed
use separate dir for mas base so nto caching repo
1 parent 79a9e7b commit 2d8f9d3

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/mas_check.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323

2424
env:
2525
MAS_RENPY_VER: 8.1.1
26+
MAS_BASE_DIR: masbase
2627
MAS_DIR: mas
2728
RENPY_DIR: renpy
2829

@@ -59,15 +60,17 @@ jobs:
5960
id: cache-mas
6061
uses: actions/cache@v4
6162
with:
62-
path: mas/
63-
key: mas
63+
path: masbase/
64+
key: masbase
6465

6566
- name: download base MAS
6667
if: steps.cache-mas.outputs.cache-hit != 'true'
6768
run: |
6869
wget https://monika-after-story.s3.us-west-2.amazonaws.com/ddlc/mas8.zip
70+
mkdir $MAS_BASE_DIR
71+
unzip mas8.zip -d $MAS_BASE_DIR/ # this is so we cache ONLY the aws download and NOT the full repo
6972
mkdir $MAS_DIR
70-
unzip mas8.zip -d $MAS_DIR/
73+
cp -Rf $MAS_BASE_DIR/* $MAS_DIR/
7174
rm $MAS_DIR/game/scripts.rpa # remove when we can handle scripts rpa
7275
7376
# copy over gh files to base

0 commit comments

Comments
 (0)