Skip to content

Commit

Permalink
use separate dir for mas base so nto caching repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePotatoGuy committed Feb 21, 2024
1 parent 79a9e7b commit 2d8f9d3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/mas_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:

env:
MAS_RENPY_VER: 8.1.1
MAS_BASE_DIR: masbase
MAS_DIR: mas
RENPY_DIR: renpy

Expand Down Expand Up @@ -59,15 +60,17 @@ jobs:
id: cache-mas
uses: actions/cache@v4
with:
path: mas/
key: mas
path: masbase/
key: masbase

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

0 comments on commit 2d8f9d3

Please sign in to comment.