Skip to content

Commit

Permalink
okay-okay, frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed Jun 1, 2024
1 parent 09a6cf3 commit fd6cff5
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: bazelbuild/examples
sparse-checkout: java-maven
sparse-checkout: frontend
sparse-checkout-cone-mode: false

- name: Checkout setup-bazel
Expand All @@ -37,19 +37,15 @@ jobs:
run: |
rm $(which bazel)
shopt -s dotglob
mv java-maven/* .
rmdir java-maven
- name: Prepare environment (macOS)
if: matrix.os == 'macos'
run: ln -s $HOME/.docker/run/docker.sock /var/run/docker.sock
mv frontend/* .
rmdir frontend
- name: Prepare environment (Windows)
if: matrix.os == 'windows'
run: |
Remove-Item -Path (Get-Command bazel.exe).Source
Get-ChildItem -Path java-maven -Recurse -File | Move-Item -Destination .
Remove-Item -Path java-maven -Recurse -Force
Get-ChildItem -Path frontend -Recurse -File | Move-Item -Destination .
Remove-Item -Path frontend -Recurse -Force
- name: Setup Bazel
uses: ./setup-bazel/
Expand Down

0 comments on commit fd6cff5

Please sign in to comment.