From 98a86f9657155b847b3cdde9113ce54f9b18fa66 Mon Sep 17 00:00:00 2001 From: Laurent Caouissin Date: Thu, 18 Jan 2024 17:25:14 +0100 Subject: [PATCH] Update create-release.yml --- .github/workflows/create-release.yml | 76 ++++++++++++++-------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 2791a285e..e8a47e83f 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -13,53 +13,53 @@ on: jobs: - check-version: - runs-on: ubuntu-latest - outputs: - release-version: ${{ steps.version-step.outputs.version }} - steps: - - name: Set up JDK 17 - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' + # check-version: + # runs-on: ubuntu-latest + # outputs: + # release-version: ${{ steps.version-step.outputs.version }} + # steps: + # - name: Set up JDK 17 + # uses: actions/setup-java@v4 + # with: + # distribution: 'temurin' + # java-version: '17' - - name: Checkout Eno repo - uses: actions/checkout@v4 + # - name: Checkout Eno repo + # uses: actions/checkout@v4 - - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + # - name: Setup Gradle + # uses: gradle/gradle-build-action@v2 - - name: Get Eno Version - id: version-step - run: | - ./gradlew # (load the gradle wrapper, required for the get version step) - echo "version=$(./gradlew printVersion --console=plain -q)" >> $GITHUB_OUTPUT + # - name: Get Eno Version + # id: version-step + # run: | + # ./gradlew # (load the gradle wrapper, required for the get version step) + # echo "version=$(./gradlew printVersion --console=plain -q)" >> $GITHUB_OUTPUT - - name: Print Eno Version - run: echo ${{ steps.version-step.outputs.version }} + # - name: Print Eno Version + # run: echo ${{ steps.version-step.outputs.version }} - - uses: mukunku/tag-exists-action@v1.5.0 - name: Check tag existence - id: check-tag-exists - with: - tag: ${{ steps.version-step.outputs.version }} + # - uses: mukunku/tag-exists-action@v1.5.0 + # name: Check tag existence + # id: check-tag-exists + # with: + # tag: ${{ steps.version-step.outputs.version }} - - name: Tag verification - id: check-tag - run: | - if [[ "${{ steps.check-tag-exists.outputs.exists }}" == "true" ]]; then - echo "Nothing to tag/release, the tag ${{ steps.version-step.outputs.version }} already exists" - exit 1 - fi + # - name: Tag verification + # id: check-tag + # run: | + # if [[ "${{ steps.check-tag-exists.outputs.exists }}" == "true" ]]; then + # echo "Nothing to tag/release, the tag ${{ steps.version-step.outputs.version }} already exists" + # exit 1 + # fi - if ! [[ "${{ steps.version-step.outputs.version }}" =~ ^[0-9]+.[0-9]+.[0-9]+$ ]]; then - echo "Nothing to tag/release, the tag ${{ steps.version-step.outputs.version }} is not in correct format X.Y.Z" - exit 1 - fi + # if ! [[ "${{ steps.version-step.outputs.version }}" =~ ^[0-9]+.[0-9]+.[0-9]+$ ]]; then + # echo "Nothing to tag/release, the tag ${{ steps.version-step.outputs.version }} is not in correct format X.Y.Z" + # exit 1 + # fi build-sources: - needs: check-version + # needs: check-version runs-on: ubuntu-latest steps: - name: Set up JDK 17