diff --git a/.github/github-settings.xml b/.github/github-settings.xml new file mode 100644 index 0000000..939e73f --- /dev/null +++ b/.github/github-settings.xml @@ -0,0 +1,12 @@ + + + + + github-vorpal-research-kotlin-maven + ${env.GITHUB_ACTOR} + ${env.GITHUB_TOKEN} + + + diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 3b4aea5..fec6a11 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -15,14 +15,14 @@ jobs: uses: actions/setup-java@v1 with: java-version: 1.8 - - name: Deploy to Bintray - id: deploy-to-bintray + - name: Deploy to Github Packages + id: deploy-to-packages run: | mvn versions:set -DnewVersion=${{ github.event.release.tag_name }} - mvn deploy -s .github/bintray-settings.xml || echo "deploy failed" >&2 + mvn deploy -s .github/github-settings.xml || echo "deploy failed" >&2 env: - BINTRAY_USERNAME: ${{ secrets.bintray_username }} - BINTRAY_PASSWORD: ${{ secrets.bintray_password }} + GITHUB_ACTOR: vorpal-reseacher + GITHUB_TOKEN: ${{ secrets.ORG_GITHUB_TOKEN }} - name: Move sources jar file run: mv target/*-sources.jar sources.jar diff --git a/pom.xml b/pom.xml index ff2ee99..6ea3ee9 100644 --- a/pom.xml +++ b/pom.xml @@ -2,21 +2,21 @@ 4.0.0 ru.spbstu g4toEBNF - 0.0.0.4-SNAPSHOT + 0.0.0.5-SNAPSHOT g4 grammar to markdown scm:git:git@github.com:belyaev-mikhail/grammar-converter.git scm:git:git@github.com:belyaev-mikhail/grammar-converter.git https://github.com/belyaev-mikhail/grammar-converter - HEAD + HEAD UTF-8 true true - 1.3.61 + 1.4.31 4.8 @@ -200,9 +200,9 @@ - bintray-vorpal-research-kotlin-maven + github-vorpal-research-kotlin-maven vorpal-research-kotlin-maven - https://api.bintray.com/maven/vorpal-research/kotlin-maven/${artifactId}/;publish=1 + https://maven.pkg.github.com/vorpal-research/kotlin-maven