diff --git a/.github/workflows/test-relay.yaml b/.github/workflows/test-relay.yaml index 4c2189c04..4df3fc09f 100644 --- a/.github/workflows/test-relay.yaml +++ b/.github/workflows/test-relay.yaml @@ -3,7 +3,7 @@ name: Deploy Relayer Locally on: push: branches: - - "main" + - "**" jobs: relay-local-deployment: @@ -21,58 +21,69 @@ jobs: git submodule update --recursive --remote # Install and setup go - - name: Set up Go 1.19 - uses: actions/setup-go@v2 - with: - go-version: 1.19 + # - name: Set up Go 1.19 + # uses: actions/setup-go@v2 + # with: + # go-version: 1.19 # setup gopath - name: Set PATH - run: | - echo "$(go env GOPATH)/bin" >> $GITHUB_PATH - shell: bash + # run: | + # echo "$(go env GOPATH)/bin" >> $GITHUB_PATH + # shell: bash # Install rust toolchain - - name: Install rust stable toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: 1.69.0 - target: wasm32-unknown-unknown - override: true - profile: minimal + # - name: Install rust stable toolchain + # uses: actions-rs/toolchain@v1 + # with: + # toolchain: 1.69.0 + # target: wasm32-unknown-unknown + # override: true + # profile: minimal - - name: Cache Rust dependencies - uses: Swatinem/rust-cache@v2 + # - name: Cache Rust dependencies + # uses: Swatinem/rust-cache@v2 # Build relay - - name: Build relayer - run: make install + # - name: Build relayer + # run: make install # Install goloop - - name: Install goloop - run: go install github.com/icon-project/goloop/cmd/goloop@latest + # - name: Install goloop + # run: go install github.com/icon-project/goloop/cmd/goloop@latest # Build archwayd - - name: Build archwayd - working-directory: .github/scripts/archway - run: | - echo $PWD - echo $GITHUB_WORKSPACE - make install + # - name: Build archwayd + # working-directory: .github/scripts/archway + # run: | + # echo $PWD + # echo $GITHUB_WORKSPACE + # make install # Build comsmwasm - - name: Compile WASM - working-directory: .github/scripts/IBC-Integration - run: | - rustup component add rustfmt --toolchain 1.69.0-x86_64-unknown-linux-gnu - rustup component add clippy --toolchain 1.69.0-x86_64-unknown-linux-gnu - bash ./optimize_build.sh + # - name: Compile WASM + # working-directory: .github/scripts/IBC-Integration + # run: | + # rustup component add rustfmt --toolchain 1.69.0-x86_64-unknown-linux-gnu + # rustup component add clippy --toolchain 1.69.0-x86_64-unknown-linux-gnu + # bash ./optimize_build.sh + + # - name: Build javascore + # working-directory: .github/scripts/IBC-Integration/contracts/javascore + # run: | + # ./gradlew clean build + # ./gradlew optimizedJar + + - name: Download Contracts + uses: dsaltares/fetch-gh-release-asset@master + with: + repo: 'icon-project/IBC-Integration' + version: 'tags/v0.1.0-alpha.15' + file: 'ibc-0.1.0-optimized.jar' + token: ${{ secrets.GITHUB_TOKEN }} - - name: Build javascore - working-directory: .github/scripts/IBC-Integration/contracts/javascore - run: | - ./gradlew clean build - ./gradlew optimizedJar + - name: List Download Files + run: ls -l - name: Import GPG key uses: crazy-max/ghaction-import-gpg@v5