diff --git a/.github/workflows/check-updates.yml b/.github/workflows/check-updates.yml index 3394741..9ad645b 100644 --- a/.github/workflows/check-updates.yml +++ b/.github/workflows/check-updates.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.7 with: token: ${{ secrets.WORKFLOW_SECRET }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da9dd9c..31d4179 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,14 +8,15 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.7 - name: Set up Java id: setup-jre - uses: actions/setup-java@v1 + uses: actions/setup-java@v4.2.2 with: java-version: "11" architecture: x64 + distribution: microsoft - name: Compile run: ./gradlew compileJava @@ -50,4 +51,4 @@ jobs: env: MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} - MAVEN_PUBLISH_REGISTRY_URL: "https://s01.oss.sonatype.org/content/repositories/releases/" \ No newline at end of file + MAVEN_PUBLISH_REGISTRY_URL: "https://s01.oss.sonatype.org/content/repositories/releases/"