Skip to content

Commit fe06972

Browse files
author
Kristjan Kosic
authored
fix: github actions split workflows (#124)
1 parent 8de73ac commit fe06972

3 files changed

Lines changed: 28 additions & 7 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish Release
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Set up JDK 11
15+
uses: actions/setup-java@v1
16+
with:
17+
java-version: 11
18+
19+
- name: Build with Gradle
20+
run: gradle build
21+
22+
- name: Publish to GitHub Packages
23+
run: gradle publish
24+
env:
25+
USERNAME: ${{ github.actor }}
26+
PASSWORD: ${{ secrets.GITHUB_TOKEN }}
27+

.github/workflows/publish-release.yml renamed to .github/workflows/publish-release-maven.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ jobs:
1919
- name: Build with Gradle
2020
run: gradle build
2121

22-
- name: Publish to GitHub Packages
23-
run: gradle publish
24-
env:
25-
USERNAME: ${{ github.actor }}
26-
PASSWORD: ${{ secrets.GITHUB_TOKEN }}
27-
2822
- name: Publish to Maven OSS Repos
2923
run: gradle publishMavenJavaPublicationToMavenRepoRepository
3024
env:

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repositories {
1111
}
1212

1313
group = 'org.arkecosystem'
14-
version = '1.2.1'
14+
version = '1.2.2'
1515

1616
dependencies {
1717
compile group: 'org.bitcoinj', name: 'bitcoinj-core', version: '0.15.8'

0 commit comments

Comments
 (0)