From dcbdbb523092326d86a30fcf06ef8258362603d5 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Mon, 15 Nov 2021 12:14:06 +0000 Subject: [PATCH] More Java CI changes --- .github/workflows/java-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/java-ci.yml b/.github/workflows/java-ci.yml index 0ad9907c..cb15fd73 100644 --- a/.github/workflows/java-ci.yml +++ b/.github/workflows/java-ci.yml @@ -10,9 +10,9 @@ jobs: - name: Checkout latest code uses: actions/checkout@v2 - - name: Get Hash - id: hash - run: echo "git_hash=$(git rev-parse --short "$GITHUB_SHA")" >> $GITHUB_HASH + - name: Set outputs + id: vars + run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" - name: Set up JDK 16 uses: actions/setup-java@v2 @@ -33,5 +33,5 @@ jobs: - uses: actions/upload-artifact@v2 with: - name: eco-dev-${{ env.hash }} + name: eco-dev-${{ steps.vars.outputs.sha_short }} path: build/libs \ No newline at end of file