Skip to content

Commit 0faa9c8

Browse files
chore(deps): update all github actions to v2 (major) (#10)
Co-authored-by: Peter Trifanov <[email protected]>
1 parent 2efb0d6 commit 0faa9c8

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

.github/workflows/build_and_test.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ jobs:
1313

1414
steps:
1515
# actions/checkout v1.* is needed for correct codecov upload, see https://github.com/actions/checkout/issues/237 for details
16-
- uses: actions/checkout@v1
16+
- uses: actions/checkout@v2
1717
# ensure that gradle wrapper files in repository are valid by checking checksums
1818
- uses: gradle/wrapper-validation-action@v1
1919
- name: Set up JDK 11
20-
uses: actions/setup-java@v1
20+
uses: actions/setup-java@v2
2121
with:
22-
java-version: 1.11
22+
distribution: zulu
23+
java-version: 11
2324
- uses: burrunan/gradle-cache-action@v1
2425
name: Gradle build with caches caching
2526
with:
@@ -33,7 +34,7 @@ jobs:
3334
path: '**/build/reports/'
3435
- name: Code coverage report
3536
# disabled until repo is private
36-
uses: codecov/codecov-action@v1
37+
uses: codecov/codecov-action@v2
3738
with:
3839
flags: unittests
3940
fail_ci_if_error: true # optional (default = false)

.github/workflows/release.yml

+10-7
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ jobs:
1818
- name: Checkout
1919
uses: actions/[email protected]
2020
- name: Set up JDK 11
21-
uses: actions/setup-java@v1
21+
uses: actions/setup-java@v2
2222
with:
23-
java-version: 1.11
23+
distribution: zulu
24+
java-version: 11
2425
- uses: burrunan/gradle-cache-action@v1
2526
name: Gradle release with caches caching
2627
with:
@@ -43,9 +44,10 @@ jobs:
4344
- name: Checkout
4445
uses: actions/[email protected]
4546
- name: Set up JDK 11
46-
uses: actions/setup-java@v1
47+
uses: actions/setup-java@v2
4748
with:
48-
java-version: 1.11
49+
distribution: zulu
50+
java-version: 11
4951
- uses: burrunan/gradle-cache-action@v1
5052
name: Gradle release with caches caching
5153
with:
@@ -58,11 +60,12 @@ jobs:
5860
- name: Checkout
5961
uses: actions/[email protected]
6062
- name: Set up JDK 11
61-
uses: actions/setup-java@v1
63+
uses: actions/setup-java@v2
6264
with:
63-
java-version: 1.11
65+
distribution: zulu
66+
java-version: 11
6467
- uses: burrunan/gradle-cache-action@v1
6568
name: Gradle release with caches caching
6669
with:
6770
arguments: publishToSonatype closeSonatypeStagingRepository
68-
gradle-version: wrapper
71+
gradle-version: wrapper

0 commit comments

Comments
 (0)