Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial publish #23

Merged
merged 6 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,9 @@ jobs:
run: |
cd web3js-ext && npm install && npm run build && cd -

- name: generate web3j-ext
if: steps.verify-changed-files.outputs.web3j-ext_any_changed == 'true'
shell: bash
run: |
cd web3j-ext/web3j-ext && gradle wrapper && gradle build && cd -

2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
if: steps.verify-changed-files.outputs.web3j-ext_any_changed == 'true'
shell: bash
run: |
cd web3j-ext/web3j-ext && gradle build && gradle publish \
cd web3j-ext/web3j-ext && gradle wrapper && gradle build && gradle publish \
&& cd build/libs && zip -r web3j-ext.zip io \
&& curl POST --verbose --header "Authorization: Bearer $PUBLISHER_TOKEN" --form bundle=@web3j-ext.zip https://central.sonatype.com/api/v1/publisher/upload
env:
Expand Down
2 changes: 1 addition & 1 deletion ethers-ext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@
"@kaiachain/web3rpc": "^1.0.0",
"lodash": "^4.17.21"
}
}
}
1 change: 0 additions & 1 deletion web3j-ext/web3j-ext/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ if (System.getenv("PUBLISH_TO_MAVEN_PUBLIC")) {
}
}


test {
useJUnitPlatform()
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import java.math.BigDecimal;

public class KAIAConvert {
private KAIAConvert() { }
public class KaiaConvert {
private KaiaConvert() { }

// Kaia units
public static BigDecimal fromPeb(String number, Unit unit) {
Expand Down
2 changes: 1 addition & 1 deletion web3js-ext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@
"lodash": "^4.17.21",
"web3": "^4.1.0"
}
}
}
2 changes: 1 addition & 1 deletion web3py-ext/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
license="MIT",
)
)
Loading