diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eec7d46..6cb9db7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,18 +17,18 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up JDK 19 - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: - java-version: '19' + java-version: '21' distribution: 'temurin' - name: Build with Gradle uses: gradle/gradle-build-action@v2.9.0 with: arguments: build - name: Upload a Build Artifact - uses: actions/upload-artifact@v3.0.0 + uses: actions/upload-artifact@v4 with: - path: ./build/libs/* + path: plugin/build/libs/* if-no-files-found: error \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3f01f00..2e55651 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,11 +12,11 @@ jobs: HANGAR_API_TOKEN: ${{ secrets.HANGAR_API_TOKEN }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up JDK 19 - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: - java-version: '19' + java-version: '21' distribution: 'temurin' - name: Publish with Gradle to Hangar uses: gradle/gradle-build-action@v2.9.0