mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 06:22:03 -08:00
CI/CD: Fix .mozbuild caching
This commit is contained in:
parent
80a657268e
commit
726fcb66db
1 changed files with 8 additions and 2 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue