diff --git a/.github/workflows/java-ci.yml b/.github/workflows/java-ci.yml index 2b3601c6..0ad9907c 100644 --- a/.github/workflows/java-ci.yml +++ b/.github/workflows/java-ci.yml @@ -10,6 +10,10 @@ 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 up JDK 16 uses: actions/setup-java@v2 with: @@ -29,5 +33,5 @@ jobs: - uses: actions/upload-artifact@v2 with: - name: Package + name: eco-dev-${{ env.hash }} path: build/libs \ No newline at end of file