Skip to content

Commit 8d464ab

Browse files
chore: fix license header in build.bat (#1363) (#431)
* chore: fix license header in build.bat * chore: add disctribution field for setup-java action Source-Link: googleapis/synthtool@4fea5f4 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:df8d7b2cc0dbc65871e7edd86601901a0612b272fa3f7f0eb590c5c53aa5f92e
1 parent 799105d commit 8d464ab

File tree

7 files changed

+33
-32
lines changed

7 files changed

+33
-32
lines changed

java-workflows/.github/.OwlBot.lock.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
16-
digest: sha256:387835a1375a0049ec44e02542c844302854c732d8291bdf8e472c0ff70a8f67
16+
digest: sha256:df8d7b2cc0dbc65871e7edd86601901a0612b272fa3f7f0eb590c5c53aa5f92e

java-workflows/.github/workflows/approve-readme.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme'
2323
steps:
24-
- uses: actions/github-script@v5
24+
- uses: actions/github-script@v6
2525
with:
2626
github-token: ${{secrets.YOSHI_APPROVER_TOKEN}}
2727
script: |

java-workflows/.github/workflows/auto-release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
if: contains(github.head_ref, 'release-please')
2323
steps:
24-
- uses: actions/github-script@v5
24+
- uses: actions/github-script@v6
2525
with:
2626
github-token: ${{secrets.YOSHI_APPROVER_TOKEN}}
2727
debug: true

java-workflows/.github/workflows/ci.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
matrix:
2828
java: [8, 11, 17]
2929
steps:
30-
- uses: actions/checkout@v2
31-
- uses: actions/setup-java@v2
30+
- uses: actions/checkout@v3
31+
- uses: actions/setup-java@v3
3232
with:
3333
distribution: zulu
3434
java-version: ${{matrix.java}}
@@ -39,8 +39,8 @@ jobs:
3939
windows:
4040
runs-on: windows-latest
4141
steps:
42-
- uses: actions/checkout@v2
43-
- uses: actions/setup-java@v2
42+
- uses: actions/checkout@v3
43+
- uses: actions/setup-java@v3
4444
with:
4545
distribution: zulu
4646
java-version: 8
@@ -54,8 +54,8 @@ jobs:
5454
matrix:
5555
java: [8, 11, 17]
5656
steps:
57-
- uses: actions/checkout@v2
58-
- uses: actions/setup-java@v2
57+
- uses: actions/checkout@v3
58+
- uses: actions/setup-java@v3
5959
with:
6060
distribution: zulu
6161
java-version: ${{matrix.java}}
@@ -64,8 +64,8 @@ jobs:
6464
lint:
6565
runs-on: ubuntu-latest
6666
steps:
67-
- uses: actions/checkout@v2
68-
- uses: actions/setup-java@v2
67+
- uses: actions/checkout@v3
68+
- uses: actions/setup-java@v3
6969
with:
7070
distribution: zulu
7171
java-version: 11
@@ -76,8 +76,8 @@ jobs:
7676
clirr:
7777
runs-on: ubuntu-latest
7878
steps:
79-
- uses: actions/checkout@v2
80-
- uses: actions/setup-java@v2
79+
- uses: actions/checkout@v3
80+
- uses: actions/setup-java@v3
8181
with:
8282
distribution: zulu
8383
java-version: 8

java-workflows/.github/workflows/samples.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ jobs:
2020
checkstyle:
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v2
24-
- uses: actions/setup-java@v1
23+
- uses: actions/checkout@v3
24+
- uses: actions/setup-java@v3
2525
with:
26+
distribution: zulu
2627
java-version: 8
2728
- name: Run checkstyle
2829
run: mvn -P lint --quiet --batch-mode checkstyle:check

java-workflows/.kokoro/build.bat

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1+
:: Copyright 2022 Google LLC
2+
::
3+
:: Licensed under the Apache License, Version 2.0 (the "License");
4+
:: you may not use this file except in compliance with the License.
5+
:: You may obtain a copy of the License at
6+
::
7+
:: http://www.apache.org/licenses/LICENSE-2.0
8+
::
9+
:: Unless required by applicable law or agreed to in writing, software
10+
:: distributed under the License is distributed on an "AS IS" BASIS,
11+
:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
:: See the License for the specific language governing permissions and
13+
:: limitations under the License.
14+
:: Github action job to test core java library features on
15+
:: downstream client libraries before they are released.
116
:: See documentation in type-shell-output.bat
2-
# Copyright 2022 Google LLC
3-
#
4-
# Licensed under the Apache License, Version 2.0 (the "License");
5-
# you may not use this file except in compliance with the License.
6-
# You may obtain a copy of the License at
7-
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
#
10-
# Unless required by applicable law or agreed to in writing, software
11-
# distributed under the License is distributed on an "AS IS" BASIS,
12-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
# See the License for the specific language governing permissions and
14-
# limitations under the License.
15-
# Github action job to test core java library features on
16-
# downstream client libraries before they are released.
1717

1818
"C:\Program Files\Git\bin\bash.exe" %~dp0build.sh

java-workflows/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file:
2727
If you are using Gradle without BOM, add this to your dependencies
2828

2929
```Groovy
30-
implementation 'com.google.cloud:google-cloud-workflows:2.1.7'
30+
implementation 'com.google.cloud:google-cloud-workflows:2.1.8'
3131
```
3232

3333
If you are using SBT, add this to your dependencies
3434

3535
```Scala
36-
libraryDependencies += "com.google.cloud" % "google-cloud-workflows" % "2.1.7"
36+
libraryDependencies += "com.google.cloud" % "google-cloud-workflows" % "2.1.8"
3737
```
3838

3939
## Authentication

0 commit comments

Comments
 (0)