From db80732c3e66197187f4621734026d5025fbf8e8 Mon Sep 17 00:00:00 2001 From: cubewhy Date: Mon, 1 Jan 2024 16:32:55 +0800 Subject: [PATCH] use v3 --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b56bed9..c6dbbd1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,22 +8,22 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive - name: Java setup - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: "zulu" java-version: 17 cache: "gradle" - - name: Set outputs - id: vars - run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" +# - name: Set outputs +# id: vars +# run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" - name: Build run: chmod +x ./gradlew && ./gradlew build - name: Upload build artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: celestial path: build/libs/celestial-*.jar \ No newline at end of file