1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-24 11:08:43 +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
- name: API compatibility check
run: ./gradlew apiCheck
- name: Publish to Gitea
- name: Publish to GitHub Packages
continue-on-error: true
run: ./gradlew publishAllPublicationsToInmoNexusRepository
run: ./gradlew publishAllPublicationsToGithubPackagesRepository
env:
INMONEXUS_USER: ${{ secrets.INMONEXUS_USER }}
INMONEXUS_PASSWORD: ${{ secrets.INMONEXUS_PASSWORD }}
GITHUBPACKAGES_USER: ${{ secrets.GITHUBPACKAGES_USER }}
GITHUBPACKAGES_PASSWORD: ${{ secrets.GITHUBPACKAGES_PASSWORD }}
- name: Publish to GithubPackages
continue-on-error: true
run: ./gradlew publishAllPublicationsToGithubPackagesRepository --no-parallel
env:
GITHUBPACKAGES_USER: ${{ github.actor }}
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 }}