From 1e624d54f1d4b408737bbf611bfe92556cf52c6f Mon Sep 17 00:00:00 2001 From: XinKeng <29268441+xinkeng0@users.noreply.github.com> Date: Sun, 1 Dec 2024 18:24:46 +0800 Subject: [PATCH] Update workflow.yaml --- .github/workflows/workflow.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index a47f239..b146c0e 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -21,11 +21,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: true - name: Set up JDK 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' cache: 'gradle' @@ -62,7 +62,7 @@ jobs: sed -i "s/version=.*-SNAPSHOT$/version=$version/1" gradle.properties ./gradlew clean build -x test - name: Archive plugin-text-diagram jar - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: plugin-text-diagram path: | @@ -75,7 +75,7 @@ jobs: if: github.event_name == 'release' steps: - name: Download plugin-text-diagram jar - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: plugin-text-diagram path: build/libs @@ -122,7 +122,7 @@ jobs: with: submodules: true - name: Download plugin-text-diagram jar - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: plugin-text-diagram path: build/libs @@ -134,4 +134,4 @@ jobs: release-id: ${{ github.event.release.id }} assets-dir: "build/libs" halo-username: ${{ secrets.HALO_USERNAME }} - halo-password: ${{ secrets.HALO_PASSWORD }} \ No newline at end of file + halo-password: ${{ secrets.HALO_PASSWORD }}