diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 45539c3..1390163 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -9,17 +9,17 @@ jobs: Build: runs-on: ubuntu-22.04 steps: - - name: Greetings - run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event." && echo "This job is now running on a ${{ runner.os }}" && echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." + - name: Checkout the repo + uses: actions/checkout@v4 - name: set up JDK 23 - uses: actions/checkout@v3 + uses: actions/setup-java@v3 with: java-version: '23' distribution: 'temurin' - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle - uses: gradle/gradle-build-action@v3 + uses: gradle/gradle-build-action@v2 with: arguments: assembleRelease - name: Upload JAR Artifact