This commit is contained in:
Alex Rodionov 2024-05-31 14:57:39 -07:00
parent 657484123c
commit a452639e44
4 changed files with 12 additions and 10 deletions

View file

@ -25,17 +25,19 @@ jobs:
- run: Remove-Item -Path (Get-Command bazel.exe).Source - run: Remove-Item -Path (Get-Command bazel.exe).Source
if: matrix.os == 'windows' if: matrix.os == 'windows'
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: ./ with:
repository: bazelbuild/examples
sparse-checkout: java-maven
- uses: actions/checkout@v4
path: setup-bazel
- run: ls -l
- uses: ./setup-bazel/
with: with:
bazelisk-cache: true bazelisk-cache: true
bazelisk-version: 1.x bazelisk-version: 1.x
remote-cache: true remote-cache: true
repository-cache: true repository-cache: true
- uses: actions/checkout@v4 - run: bazel build ...
with: - run: bazel test ...
repository: bazelbuild/examples
path: examples
- run: bazel build --announce_rc :ProjectRunner
working-directory: examples/java-tutorial
- if: failure() && runner.debug == '1' - if: failure() && runner.debug == '1'
uses: mxschmitt/action-tmate@v3 uses: mxschmitt/action-tmate@v3

2
dist/post/index.js vendored
View file

@ -95965,7 +95965,7 @@ async function stopRemoteCacheServer() {
if (pid) { if (pid) {
try { try {
process.kill(pid, 'SIGTERM') process.kill(pid, 'SIGTERM')
core.debug(`Stopped remote cache server with PID: ${pid}`) core.info(`Stopped remote cache server with PID: ${pid}`)
} catch (error) { } catch (error) {
core.error(`Failed to stop remote cache server with PID: ${pid}. Error: ${error}`) core.error(`Failed to stop remote cache server with PID: ${pid}. Error: ${error}`)
} }

File diff suppressed because one or more lines are too long

View file

@ -20,7 +20,7 @@ async function stopRemoteCacheServer() {
if (pid) { if (pid) {
try { try {
process.kill(pid, 'SIGTERM') process.kill(pid, 'SIGTERM')
core.debug(`Stopped remote cache server with PID: ${pid}`) core.info(`Stopped remote cache server with PID: ${pid}`)
} catch (error) { } catch (error) {
core.error(`Failed to stop remote cache server with PID: ${pid}. Error: ${error}`) core.error(`Failed to stop remote cache server with PID: ${pid}. Error: ${error}`)
} }