Skip to content

Commit

Permalink
Merge pull request #42 from mockito/dependabot/github_actions/actions…
Browse files Browse the repository at this point in the history
…/setup-java-v2

Bump actions/setup-java from v1 to v2

[skip release]
  • Loading branch information
slawekjaranowski authored Apr 14, 2021
2 parents 55ae0c6 + e0f7874 commit 57be760
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ jobs:
uses: actions/checkout@v2 # https://github.com/actions/checkout

- name: 2. Set up Java 8
uses: actions/setup-java@v1 # https://github.com/actions/setup-java
uses: actions/setup-java@v2 # https://github.com/actions/setup-java
with:
java-version: 8
distribution: 'adopt'

- name: 3. Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1 # https://github.com/gradle/wrapper-validation-action
Expand All @@ -61,9 +62,10 @@ jobs:
uses: actions/checkout@v2 # https://github.com/actions/checkout

- name: 2. Set up Java ${{ matrix.java }}
uses: actions/setup-java@v1 # https://github.com/actions/setup-java
uses: actions/setup-java@v2 # https://github.com/actions/setup-java
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'

- name: 3. Build on ${{ matrix.os }} with Java ${{ matrix.java }}
run: ./gradlew build bintrayUpload idea -PbintrayDryRun
Expand All @@ -89,9 +91,10 @@ jobs:
fetch-depth: '0' # https://github.com/shipkit/shipkit-changelog#fetch-depth-on-ci

- name: Set up Java 8
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 8
distribution: 'adopt'

- name: Build and publish to Bintray/MavenCentral
run: |
Expand Down

0 comments on commit 57be760

Please sign in to comment.