Skip to content

Commit

Permalink
ci: manually publish xcall-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepakBomjan authored Dec 11, 2024
1 parent 5f46b5d commit 373853e
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/publish_maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 373853e

Please sign in to comment.