diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 6147cdd..0c776e7 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -23,7 +23,8 @@ jobs: steps: - name: Set environment variable run: | - my_hash={${{ github.sha }}:0:7} + sha = ${{ github.sha }} + my_hash=${sha:0:7} echo "MY_SHA_TRIM=$my_hash" >> $GITHUB_ENV - uses: actions/checkout@v4