Skip to content

Commit 9e10d4a

Browse files
v.0.0.0.4; up Kotlin version && migrate to github packages
1 parent 0b86cda commit 9e10d4a

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

.github/github-settings.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
4+
http://maven.apache.org/xsd/settings-1.0.0.xsd">
5+
<servers>
6+
<server>
7+
<id>github-vorpal-research-kotlin-maven</id>
8+
<username>${env.GITHUB_ACTOR}</username>
9+
<password>${env.GITHUB_TOKEN}</password>
10+
</server>
11+
</servers>
12+
</settings>

.github/workflows/deployment.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
uses: actions/setup-java@v1
1616
with:
1717
java-version: 1.8
18-
- name: Deploy to Bintray
19-
id: deploy-to-bintray
18+
- name: Deploy to Github Packages
19+
id: deploy-to-packages
2020
run: |
2121
mvn versions:set -DnewVersion=${{ github.event.release.tag_name }}
22-
mvn deploy -s .github/bintray-settings.xml || echo "deploy failed" >&2
22+
mvn deploy -s .github/github-settings.xml || echo "deploy failed" >&2
2323
env:
24-
BINTRAY_USERNAME: ${{ secrets.bintray_username }}
25-
BINTRAY_PASSWORD: ${{ secrets.bintray_password }}
24+
GITHUB_ACTOR: vorpal-reseacher
25+
GITHUB_TOKEN: ${{ secrets.ORG_GITHUB_TOKEN }}
2626

2727
- name: Move sources jar file
2828
run: mv target/*-sources.jar sources.jar

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>ru.spbstu</groupId>
44
<artifactId>g4toEBNF</artifactId>
5-
<version>0.0.0.4-SNAPSHOT</version>
5+
<version>0.0.0.5-SNAPSHOT</version>
66
<name>g4 grammar to markdown</name>
77

88
<scm>
99
<connection>scm:git:[email protected]:belyaev-mikhail/grammar-converter.git</connection>
1010
<developerConnection>scm:git:[email protected]:belyaev-mikhail/grammar-converter.git</developerConnection>
1111
<url>https://github.com/belyaev-mikhail/grammar-converter</url>
12-
<tag>HEAD</tag>
12+
<tag>HEAD</tag>
1313
</scm>
1414

1515
<properties>
1616
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1717
<antlr4.visitor>true</antlr4.visitor>
1818
<antlr4.listener>true</antlr4.listener>
19-
<kotlin.version>1.3.61</kotlin.version>
19+
<kotlin.version>1.4.31</kotlin.version>
2020
<antlr4.version>4.8</antlr4.version>
2121
</properties>
2222

@@ -200,9 +200,9 @@
200200

201201
<distributionManagement>
202202
<repository>
203-
<id>bintray-vorpal-research-kotlin-maven</id>
203+
<id>github-vorpal-research-kotlin-maven</id>
204204
<name>vorpal-research-kotlin-maven</name>
205-
<url>https://api.bintray.com/maven/vorpal-research/kotlin-maven/${artifactId}/;publish=1</url>
205+
<url>https://maven.pkg.github.com/vorpal-research/kotlin-maven</url>
206206
</repository>
207207
</distributionManagement>
208208

0 commit comments

Comments
 (0)