diff --git a/.github/workflows/autopublish.yml b/.github/workflows/autopublish.yml index d67bc91a..12b063a8 100644 --- a/.github/workflows/autopublish.yml +++ b/.github/workflows/autopublish.yml @@ -8,8 +8,10 @@ jobs: - uses: actions/setup-java@v1 with: java-version: 1.8 + - name: prebuild + run: ./gradlew clean build - name: Publish package - run: ./gradlew publishAllPublicationsToGithubPackagesRepository + run: ./gradlew --no-parallel publishAllPublicationsToGithubPackagesRepository env: GITHUBPACKAGES_USER: ${{ secrets.GITHUBPACKAGES_USER }} GITHUBPACKAGES_PASSWORD: ${{ secrets.GITHUB_TOKEN }}