Skip to content

Commit

Permalink
Upgrade CI (#212)
Browse files Browse the repository at this point in the history
* Upgrade test ci

* Upgrade commit ci
  • Loading branch information
Bluemangoo authored May 11, 2024
1 parent 4917122 commit 3fcf0bb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/leaves.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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 }}

0 comments on commit 3fcf0bb

Please sign in to comment.