diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f597582..4357480 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,12 +13,15 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: java-version: '21' distribution: 'adopt' + + - name: Setup Grade + uses: gradle/actions/setup-gradle@v3 + - name: Build - uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e - with: - arguments: clean build + run: ./gradlew clean build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cde527e..0460a50 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,15 +12,19 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: java-version: '21' distribution: 'adopt' - - name: Build Backend - uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e - with: - arguments: clean build + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + + - name: Build + run: ./gradlew clean build + - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}"