1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-24 19:18:44 +00:00

reorder publishing scripts

This commit is contained in:
InsanusMokrassar 2024-07-11 17:22:38 +06:00
parent 77bd649251
commit fb796254cf

View File

@ -22,15 +22,21 @@ jobs:
run: ./gradlew build run: ./gradlew build
- name: API compatibility check - name: API compatibility check
run: ./gradlew apiCheck run: ./gradlew apiCheck
- name: Publish to Gitea - name: Publish to GitHub Packages
continue-on-error: true continue-on-error: true
run: ./gradlew publishAllPublicationsToInmoNexusRepository run: ./gradlew publishAllPublicationsToGithubPackagesRepository
env: env:
INMONEXUS_USER: ${{ secrets.INMONEXUS_USER }} GITHUBPACKAGES_USER: ${{ secrets.GITHUBPACKAGES_USER }}
INMONEXUS_PASSWORD: ${{ secrets.INMONEXUS_PASSWORD }} GITHUBPACKAGES_PASSWORD: ${{ secrets.GITHUBPACKAGES_PASSWORD }}
- name: Publish to GithubPackages - name: Publish to GithubPackages
continue-on-error: true continue-on-error: true
run: ./gradlew publishAllPublicationsToGithubPackagesRepository --no-parallel run: ./gradlew publishAllPublicationsToGithubPackagesRepository --no-parallel
env: env:
GITHUBPACKAGES_USER: ${{ github.actor }} GITHUBPACKAGES_USER: ${{ github.actor }}
GITHUBPACKAGES_PASSWORD: ${{ secrets.GITHUB_TOKEN }} GITHUBPACKAGES_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to Gitea
continue-on-error: true
run: ./gradlew publishAllPublicationsToInmoNexusRepository
env:
INMONEXUS_USER: ${{ secrets.INMONEXUS_USER }}
INMONEXUS_PASSWORD: ${{ secrets.INMONEXUS_PASSWORD }}