Skip to content

Commit

Permalink
Cache toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Aug 11, 2024
1 parent 51f2a66 commit 1d854ae
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,24 @@ jobs:
- uses: actions/checkout@v4
with:
path: site

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get -y --no-install-recommends install \
python2
- name: Prepare Gluon
run: make update

- name: Cache build artifacts
uses: actions/cache@v4
with:
path: |
packages
openwrt/build_dir
openwrt/staging_dir
key: ${{ env.GLUON_RELEASE }}-${{ matrix.target }}-build-deps

- name: Build Gluon Image
run: make GLUON_TARGET="${{ matrix.target }}"

0 comments on commit 1d854ae

Please sign in to comment.