Skip to content

Commit

Permalink
Configure Java 17 on all Github Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
JcMinarro committed Oct 20, 2023
1 parent 59b3c25 commit a893f33
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/clean-detekt-baseline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
with:
ref: develop
token: ${{ secrets.STREAM_PUBLIC_BOT_TOKEN }}
- name: Set up JDK 17
uses: actions/[email protected]
with:
distribution: adopt
java-version: 17
- uses: tibdex/[email protected]
id: generate-token
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/localazy-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
- uses: actions/[email protected]
with:
ref: develop
- name: Set up JDK 17
uses: actions/[email protected]
with:
distribution: adopt
java-version: 17
- uses: tibdex/[email protected]
id: generate-token
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/localazy-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: Set up JDK 17
uses: actions/[email protected]
with:
distribution: adopt
java-version: 17
- uses: localazy/upload@v1
with:
read_key: ${{ secrets.LOCALAZY_READ_KEY }}
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/release-post.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
uses: actions/[email protected]
with:
ref: main
- name: Set up JDK 17
uses: actions/[email protected]
with:
distribution: adopt
java-version: 17
- name: Sync main
run: |
git pull
Expand All @@ -34,6 +39,11 @@ jobs:
uses: actions/[email protected]
with:
ref: release
- name: Set up JDK 17
uses: actions/[email protected]
with:
distribution: adopt
java-version: 17
- name: Update changelog
run: ./gradlew changelog-add-model-section
- name: Commit changes
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release-start.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
uses: actions/[email protected]
with:
ref: release
- name: Set up JDK 17
uses: actions/[email protected]
with:
distribution: adopt
java-version: 17
- name: Minor version bump
if: "${{ github.event.inputs.force_bump_minor_version == 'true' && github.event.inputs.skip_version_bump != 'true' }}"
run: ./gradlew minor-bump
Expand Down

0 comments on commit a893f33

Please sign in to comment.