Deploy #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: [create] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: deploy | |
env: | |
PUBLISH_URL: https://maven.pkg.github.com/${{ github.repository }} | |
PUBLISH_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
./gradlew build | |
# Dirty Workaround for some issues with the github registry. | |
# Some Artifact Uploads fail on the first try, when another artifact | |
# was uploaded within the HTTP session for some unknown reason | |
# which is probably a bug with the github registry infrastructure. | |
# | |
# More infos: | |
# https://github.community/t5/GitHub-API-Development-and/GitHub-Package-Registry-NuGet-400-Bad-Request/td-p/29391 | |
./gradlew --continue publish |