From 714720f86000e00af704c2f35a93741ad5cd096b Mon Sep 17 00:00:00 2001 From: Jens Pots Date: Mon, 11 Nov 2024 16:48:28 +0100 Subject: [PATCH] fix(ci): rollback publish job --- .github/workflows/publish-release.yml | 47 --------------------------- 1 file changed, 47 deletions(-) delete mode 100644 .github/workflows/publish-release.yml diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml deleted file mode 100644 index 4f52257..0000000 --- a/.github/workflows/publish-release.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Publish Release - -on: - workflow_dispatch: - push: - paths: - - gradle.properties - branches: - - main - -jobs: - create-release: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Get version from gradle.properties - id: get_version - run: | - # Extract the version from gradle.properties - VERSION=$(grep '^projectVersion=' gradle.properties | cut -d'=' -f2) - echo "VERSION=$VERSION" >> $GITHUB_ENV - - - uses: actions/setup-java@v4 - with: - java-version: '22' - distribution: 'adopt' - cache: 'gradle' - - - name: Setup Gradle - uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0 - - - name: Build JAR Executable. - run: gradle :rdfc-cli:shadowJar --console=plain --warning-mode all --no-daemon - - - name: Create Release - uses: softprops/action-gh-release@v1 - with: - files: | - ./rdfc-cli/build/libs/rdfc.jar - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - RELEASE_NAME: "v${{ env.VERSION }}" - TAG_NAME: "v${{ env.VERSION }}"