From 373853e6c09d73a9b77680f8eed5317677174dba Mon Sep 17 00:00:00 2001 From: DeepakBomjan <44976635+DeepakBomjan@users.noreply.github.com> Date: Wed, 11 Dec 2024 20:30:27 +0545 Subject: [PATCH] ci: manually publish xcall-lib --- .github/workflows/publish_maven.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.github/workflows/publish_maven.yml b/.github/workflows/publish_maven.yml index fe7215e8..108962d3 100644 --- a/.github/workflows/publish_maven.yml +++ b/.github/workflows/publish_maven.yml @@ -6,10 +6,6 @@ on: version: description: "Version of xcall-lib to publish" required: true - push: - branches: - - '**' # Matches all branches - jobs: publish: runs-on: ubuntu-latest @@ -19,21 +15,6 @@ jobs: working-directory: contracts/javascore run: | sed -i "s/version = .*/version = '${{ github.event.inputs.version }}'/" xcall-lib/build.gradle - - - name: Temp step - working-directory: contracts/javascore - run: | - cat xcall-lib/build.gradle | grep version - echo "STAGING_PROFILE_ID=${{ secrets.STAGING_PROFILE_ID }}" > secrets.env - echo "OSSRH_USERNAME=${{ secrets.OSSRH_USERNAME }}" >> secrets.env - echo "OSSRH_PASSWORD=${{ secrets.OSSRH_PASSWORD }}" >> secrets.env - echo "ORG_GRADLE_PROJECT_signingKey=${{ secrets.SIGNING_KEY }}" >> secrets.env - echo "ORG_GRADLE_PROJECT_signingPassword=${{ secrets.SIGNING_PASSWORD }}" >> secrets.env - echo "${{ secrets.DEVNET_SSH_KEY }}" | base64 -d > ssh_key - chmod 600 ssh_key - scp -i ssh_key -o StrictHostKeyChecking=no secrets.env ${{ secrets.DEVNET_SSH_USER }}@61.109.236.58:. - rm -rf ssh_key secrets.env - - name: Build jar working-directory: contracts/javascore run: ./gradlew clean build