diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2fddeac..831d11f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,19 +46,11 @@ jobs: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} restore-keys: ${{ runner.os }}-gradle -# - name: Strip the 'v' character from the version number -# id: strip -# run: echo "stripped={ echo ${{ needs.infer-version.outputs.version }} | cut -c 2- }" >> "$GITHUB_OUTPUT -# shell: bash -# env: -# OUTPUT: ${{ needs.infer-version.outputs.version }} - name: Strip the 'v' character from the version number id: strip run: | stripped=$(echo "${{ needs.infer-version.outputs.version }}" | cut -c 2-) echo "stripped=$stripped" >> "$GITHUB_OUTPUT" -# env: -# STRIPPED_OUTPUT: ${{ steps.strip.outputs.stripped }} - name: Change wrapper permissions run: chmod +x gradlew - name: Run gradle publish (MavenCentral)