diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 6a8803b..c1cb69d 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -8,23 +8,24 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - 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 1.8 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: - java-version: 1.8 + distribution: 'corretto' + java-version: 8 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle run: ./gradlew build - name: Get Release Version id: get_version - run: VERSION=$(./gradlew currentVersion -q -Prelease.quiet) && echo ::set-output name=VERSION::$VERSION + run: VERSION=$(./gradlew currentVersion -q -Prelease.quiet) && echo VERSION=$VERSION >> $GITHUB_OUTPUT - name: Upload artifact zip uses: actions/upload-artifact@v1.0.0 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c083c82..54bf99f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,15 +15,16 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: set up JDK 1.8 - uses: actions/setup-java@v1 + - name: Set up JDK 1.8 + uses: actions/setup-java@v3 with: - java-version: 1.8 + distribution: 'corretto' + java-version: 8 - name: Build with Gradle run: ./gradlew build - name: Get Release Version id: get_version - run: VERSION=$(./gradlew currentVersion -q -Prelease.quiet) && echo ::set-output name=VERSION::$VERSION + run: VERSION=$(./gradlew currentVersion -q -Prelease.quiet) && echo VERSION=$VERSION >> $GITHUB_OUTPUT - name: Create Release id: create_release uses: actions/create-release@v1.0.0 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 60c9854..18031c6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '2.x', '3.x' ] + python-version: [ '3.x' ] steps: - uses: actions/checkout@v3