Skip to content

Commit 2bc3198

Browse files
committed
revert to previous
1 parent 7394e0e commit 2bc3198

File tree

2 files changed

+13
-31
lines changed

2 files changed

+13
-31
lines changed

.github/workflows/gradle.yml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,28 @@
44
name: Java CI with Gradle
55

66
on:
7-
# push:
8-
# branches: [ master ]
9-
# pull_request:
10-
# branches: [ master ]
11-
release:
12-
types: [created]
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
1311

1412
jobs:
1513
build:
16-
1714
runs-on: ubuntu-latest
18-
1915
steps:
20-
- uses: actions/checkout@v2
16+
- name: Check out source code
17+
uses: actions/checkout@v2
2118
- name: Set up JDK 1.8
2219
uses: actions/setup-java@v1
2320
with:
2421
java-version: 1.8
25-
- name: Grant execute permission for gradlew
22+
- name: Grant permission for gradlew
2623
run: chmod +x gradlew
2724
- name: Build with Gradle
2825
run: ./gradlew build
29-
- name: Publish package
30-
run: gradle publish
31-
env:
32-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33-
# - uses: actions/upload-artifact@v2
34-
# with:
35-
# name: jar-artifact
36-
# path: build/libs
37-
# if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
26+
- name: Upload artifact
27+
uses: actions/upload-artifact@v2
28+
with:
29+
name: Artifact
30+
path: build/libs
31+
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`

build.gradle

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,3 @@ Java library to assist smooth development on VeChain,
4949
Includes wallets creation, transaction assembling,
5050
signature, ABI encoding and bloom filter."""
5151

52-
publishing {
53-
repositories {
54-
maven {
55-
name = "GitHubPackages"
56-
url = "https://maven.pkg.github.com/laalaguer/thor-devkit.java"
57-
credentials {
58-
username = System.getenv("GITHUB_ACTOR")
59-
password = System.getenv("GITHUB_TOKEN")
60-
}
61-
}
62-
}
63-
}

0 commit comments

Comments
 (0)