Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/setup-java from v1 to v2 #42

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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