diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c8646ae..34fe352 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,12 +23,12 @@ jobs: java-version: '17' distribution: 'adopt' - - name: Expose version for creating release - run: ./gradlew assemble --no-configuration-cache #&& echo "VERSION=$( ./gradlew :getVersion --no-configuration-cache)" >> $GITHUB_ENV - - name: "Checkout sources" uses: actions/checkout@v4 + - name: Expose version for creating release + run: echo "VERSION=$( ./gradlew :getVersion --no-configuration-cache)" >> $GITHUB_ENV + - name: Create tag uses: actions/github-script@v5 with: