diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index a19949e..4955d96 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -15,9 +15,14 @@ jobs: steps: - run: apt update && apt -y install libfreetype6-dev - uses: actions/checkout@v1 - - name: Update repo. + - name: Get repo submoduels run: | git submodule update --init --recursive + - name: Cache MuPDF + uses: actions/cache@v2 + with: + path: mupdf/build + key: ${{ runner.os }}-mupdf-${{ hashFiles('**/mupdf/PKGBUILD') }} - name: Building eBookReaderSwitch run: | @@ -27,4 +32,4 @@ jobs: - uses: actions/upload-artifact@master with: name: eBookReaderSwitch - path: eBookReaderSwitch.nro \ No newline at end of file + path: eBookReaderSwitch.nro