diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8106e93d..a5905f56 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,15 +1,10 @@ -name: Release - Linux +name: release env: BRANCH_NAME: ${{ github.head_ref || github.ref_name }} IS_SNAPSHOT: ${{ github.ref_name != 'main' }} on: workflow_dispatch: - push: - tags: - - v* - branches: - - 'develop' - - '!main' + jobs: publish: runs-on: ubuntu-latest @@ -22,17 +17,11 @@ jobs: run: exit -1 - uses: actions/checkout@v3 - with: - ref: ${{ env.BRANCH_NAME }} - fetch-depth: '0' - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: - java-version: '8' - distribution: 'adopt' - - - name: Validate Gradle wrapper - uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b + distribution: "temurin" + java-version: "17" - name: Gradle Build and Test run: |