mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 11:32:05 -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 update
|
||||||
sudo apt-get install -y msitools p7zip-full aria2
|
sudo apt-get install -y msitools p7zip-full aria2
|
||||||
|
|
||||||
- name: Cache .mozbuild
|
- name: Restore .mozbuild cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache/restore@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ env.MOZBUILD_PATH }}
|
path: ${{ env.MOZBUILD_PATH }}
|
||||||
key: ${{ runner.os }}-mozbuild-${{ hashFiles('**/Makefile') }}
|
key: ${{ runner.os }}-mozbuild-${{ hashFiles('**/Makefile') }}
|
||||||
|
|
@ -44,6 +44,12 @@ jobs:
|
||||||
make mozbootstrap
|
make mozbootstrap
|
||||||
mkdir -p dist
|
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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
python3 ./multibuild.py --target linux windows macos --arch x86_64
|
python3 ./multibuild.py --target linux windows macos --arch x86_64
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue