Skip to content

Deploy

Deploy #48

Workflow file for this run

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