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

ci: fix javascore build issue #70

Merged
merged 2 commits into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
10 changes: 5 additions & 5 deletions .github/workflows/build-and-publish-javascore.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Build and Publish Javascore Contracts
name: Build and Upload xcall-multi Contracts

on:
push:
branches:
- "main"

jobs:
deploy-contracts-uat:
build-and-upload-artifacts:
runs-on: ubuntu-latest

steps:
Expand All @@ -18,12 +18,12 @@ jobs:
run: |
./gradlew clean build
./gradlew optimizedJar
./gradlew zipOutputJars
./gradlew zipOutputOptimizedJars

- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
name: javascore-contracts
path: ./contracts/javascore/build/xcall-output-jars.zip
path: ./contracts/javascore/build/javascore-contracts.zip
if-no-files-found: error


4 changes: 2 additions & 2 deletions .github/workflows/uat-deploy-java-contracts.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Contracts After PR Merge to main branch
name: Deploy Contracts to uat node

on:
push:
Expand Down Expand Up @@ -28,4 +28,4 @@ jobs:
run: |
./gradlew clean build
./gradlew optimizedJar
./gradlew deployToUat -PdeploymentENV=uat -PkeystoreName=$UAT_KEYSTORE_PATH -PkeystorePass=$UAT_PASSWD
./gradlew xcall:deployToUat -PdeploymentENV=uat -PkeystoreName=$UAT_KEYSTORE_PATH -PkeystorePass=$UAT_PASSWD
3 changes: 0 additions & 3 deletions contracts/javascore/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,3 @@ task zipOutputOptimizedJars(type: Zip) {
archiveFileName = "javascore-contracts.zip"
destinationDirectory = file("$buildDir")
}



Loading