diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7620f1e..e6dd481 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,8 +30,8 @@ jobs: sudo apt-get update sudo apt-get install -y msitools p7zip-full aria2 - - name: Cache .mozbuild - uses: actions/cache@v2 + - name: Restore .mozbuild cache + uses: actions/cache/restore@v3 with: path: ${{ env.MOZBUILD_PATH }} key: ${{ runner.os }}-mozbuild-${{ hashFiles('**/Makefile') }} @@ -44,6 +44,12 @@ jobs: make mozbootstrap mkdir -p dist + - name: Save .mozbuild cache + uses: actions/cache/save@v3 + with: + path: ${{ env.MOZBUILD_PATH }} + key: ${{ runner.os }}-mozbuild-${{ hashFiles('**/Makefile') }} + - name: Build run: | python3 ./multibuild.py --target linux windows macos --arch x86_64