diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ecd550..410b15c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,11 +19,11 @@ jobs: java-version: '17' - name: Load GitHub credentials - run: echo "gpr.user=${{ secrets.GH_ACTOR }}" >> ~/.gradle/gradle.properties - - run: echo "gpr.token=${{ secrets.GH_TOKEN }}" >> ~/.gradle/gradle.properties + run: echo "gpr.user=${{ secrets.GH_ACTOR }}" >> $GITHUB_WORKSPACE/gradle.properties + - run: echo "gpr.token=${{ secrets.GH_TOKEN }}" >> $GITHUB_WORKSPACE/gradle.properties - name: Set version name from tag - run: echo "version=${{ github.event.release.tag_name }}" >> gradle.properties + run: echo "version=${{ github.event.release.tag_name }}" >> $GITHUB_WORKSPACE/gradle.properties - name: Build and publish run: ./gradlew publish \ No newline at end of file