diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 42f3242..32d551c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,7 +13,7 @@ jobs: # Check out the current repository - name: Fetch Sources - uses: actions/checkout@v4 + uses: actions/checkout@v5 # Set up Java environment for the next steps - name: Setup Java @@ -64,7 +64,7 @@ jobs: # Check out the current repository - name: Fetch Sources - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit fetch-depth: 0 # a full history is required for pull request analysis @@ -85,7 +85,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 更新代码 - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: 设置中央库 uses: actions/setup-java@v4 with: