Skip to content

Commit

Permalink
simplify steps, add 18.04 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Dec 12, 2024
1 parent 2e88cba commit 7c32604
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,15 @@ jobs:
matrix:
jdk: [ "openjdk-11-jdk","openjdk-17-jdk","openjdk-21-jdk" ]
ubuntu: ["20.04", "22.04"]
include:
- jdk: 'openjdk-11-jdk'
ubuntu: '18.04'
- jdk: 'openjdk-17-jdk'
ubuntu: '18.04'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get Fetch Tags
run: git -c protocol.version=2 fetch --tags --progress --no-recurse-submodules origin
if: "!contains(github.ref, 'refs/tags')"
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'zulu'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Initialize Gradle
run: ./gradlew --version --dependency-verification off
- name: Get RPM Version
id: get_rpm_version
run: VERSION=$(./gradlew currentVersion -q -Prelease.quiet --dependency-verification off | sed 's/-/./') && echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
- name: mkdirs
run: mkdir -p rd-cli-tool/build/distributions
- name: Download all artifacts
Expand Down

0 comments on commit 7c32604

Please sign in to comment.