diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 501df8c..7be06fb 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Set environment variable - run: my_hash = {${{ github.sha }}:0:7} && echo "MY_SHA_TRIM=" + my_hash >> $GITHUB_ENV + run: $my_hash = {${{ github.sha }}:0:7} && echo "MY_SHA_TRIM=$my_hash" >> $GITHUB_ENV - uses: actions/checkout@v4 - name: Set up JDK 21