Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
[fix][*][*] use workflow to build and test
Browse files Browse the repository at this point in the history
  • Loading branch information
zouxyan committed Nov 20, 2023
1 parent 65ecdaa commit 4635cb1
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/install_acbsdk.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#
# Copyright 2023 Ant Group
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

#!/bin/bash

CURR_DIR="$(cd `dirname $0`; pwd)"

echo "install ACB SDK ..."

git clone -b feat/bcdns_support [email protected]:AntChainOpenLabs/AntChainBridgePluginSDK.git
cd AntChainBridgePluginSDK/antchain-bridge-commons
mvn install -Dmaven.test.skip=true
cd -
cd AntChainBridgePluginSDK/antchain-bridge-spi
mvn install -Dmaven.test.skip=true
cd -

echo "install ACB SDK finished"
2 changes: 2 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Install deps
run: bash .github/workflows/install_acbsdk.sh
- name: Build with Maven
run: mvn -B package --file pom.xml

Expand Down

0 comments on commit 4635cb1

Please sign in to comment.