diff --git a/.github/workflows/leaves.yml b/.github/workflows/leaves.yml index 1aa64e95..d6ddad2f 100644 --- a/.github/workflows/leaves.yml +++ b/.github/workflows/leaves.yml @@ -11,11 +11,11 @@ jobs: if: github.event.pull_request.merged || github.event_name == 'push' || github.event_name == 'workflow_dispatch' steps: - name: Get repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Get JDK 21 - uses: actions/setup-java@v3 + - name: Get JDK 17 + uses: actions/setup-java@v4 with: java-version: '21' distribution: 'zulu' @@ -60,7 +60,7 @@ jobs: run: sh scripts/GetReleaseInfo.sh - name: Create Release if: "!contains(github.event.commits[0].message, '[release-skip]')" - uses: ncipollo/release-action@v1.12.0 + uses: ncipollo/release-action@v1 with: artifacts: ${{ env.jar }} bodyFile: ${{ env.info }} @@ -70,17 +70,17 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} makeLatest: ${{ env.make_latest }} - name: Delete Draft Releases - uses: hugo19941994/delete-draft-releases@v1.0.0 + uses: hugo19941994/delete-draft-releases@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Github Releases To Discord continue-on-error: true - uses: tsickert/discord-webhook@v5.3.0 + uses: tsickert/discord-webhook@v6 with: webhook-url: ${{ secrets.DISCORD_WEBHOOK }} raw-data: ${{ env.discordmes }} - name: Upload Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ env.jar }} path: ${{ env.jar }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 67f84fbe..e1202b04 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,11 +21,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Get repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Get JDK 21 - uses: actions/setup-java@v3 + - name: Get JDK 17 + uses: actions/setup-java@v4 with: java-version: '21' distribution: 'zulu' @@ -44,7 +44,7 @@ jobs: - name: Get Release Info run: sh scripts/GetReleaseInfo.sh - name: Archive Leaves - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.jar }} path: ${{ env.jar }}