Update autopublish.yml

This commit is contained in:
InsanusMokrassar 2021-02-27 21:45:20 +06:00 committed by GitHub
parent 8cfce9e54d
commit 46d668f899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,8 +8,10 @@ jobs:
- uses: actions/setup-java@v1 - uses: actions/setup-java@v1
with: with:
java-version: 1.8 java-version: 1.8
- name: prebuild
run: ./gradlew clean build
- name: Publish package - name: Publish package
run: ./gradlew publishAllPublicationsToGithubPackagesRepository run: ./gradlew --no-parallel publishAllPublicationsToGithubPackagesRepository
env: env:
GITHUBPACKAGES_USER: ${{ secrets.GITHUBPACKAGES_USER }} GITHUBPACKAGES_USER: ${{ secrets.GITHUBPACKAGES_USER }}
GITHUBPACKAGES_PASSWORD: ${{ secrets.GITHUB_TOKEN }} GITHUBPACKAGES_PASSWORD: ${{ secrets.GITHUB_TOKEN }}