更新 GitHub Action 脚本 (#2891)

* update

* update
This commit is contained in:
Glavo
2024-03-05 05:11:21 +08:00
committed by GitHub
parent 404bc88ec8
commit 88d7493870
5 changed files with 9 additions and 13 deletions

View File

@@ -8,9 +8,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '11'
@@ -24,7 +24,7 @@ jobs:
- name: Get short SHA
run: echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: HMCL-${{ env.SHORT_SHA }}
path: HMCL/build/libs