Skip to content

Commit

Permalink
chore: improve bazel setup
Browse files Browse the repository at this point in the history
  • Loading branch information
lacolaco committed Jul 13, 2024
1 parent ec71ce9 commit ab697d3
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/adev-preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,11 @@ jobs:
with:
node-version-file: '.node-version'
cache: yarn
- uses: bazelbuild/setup-bazelisk@v3
- name: Use Bazel build cache
uses: actions/cache@v4
- uses: bazel-contrib/[email protected]
with:
path: "~/.cache/bazel"
key: bazel
- name: Use Bazel repo cache
uses: actions/cache@v4
with:
path: ${{ env.BAZEL_REPO_CACHE_PATH }}
key: bazel-repo-cache-${{ runner.os }}-${{ hashFiles('origin/WORKSPACE') }}
restore-keys: |
bazel-repo-cache-${{ runner.os }}-
bazelisk-cache: true
disk-cache: true
repository-cache: true
- run: yarn install
- run: yarn build
- run: chmod 755 build/dist/bin/adev/build/browser
Expand Down

0 comments on commit ab697d3

Please sign in to comment.