From 18ed7f5b15f145c3c2eb1bcc13cce4390997e9f9 Mon Sep 17 00:00:00 2001 From: bing Date: Mon, 31 Oct 2022 07:29:12 -0400 Subject: [PATCH] ci: update forc-explore CI related steps (#2926) 1/2 of #2609 accompanying issue in `forc-explorer` repo: https://github.com/FuelLabs/forc-explorer/issues/1 This PR removes the distribution of forc-explore binary Will mark this PR as ready for review once `forc-explore` is confirmed to work in the new repo. --- .github/workflows/ci.yml | 11 ++--------- .github/workflows/gh-pages.yml | 3 +-- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ec645a4494..a5e32d234cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -119,8 +119,8 @@ jobs: run: | cargo install --debug --path ./forc-plugins/forc-fmt cargo install --debug --path ./forc-plugins/forc-lsp - cargo install --debug --path ./forc-plugins/forc-explore cargo install --debug --path ./forc-plugins/forc-client + cargo install --debug forc-explore - name: Install mdbook-forc-documenter uses: actions-rs/cargo@v1 with: @@ -380,7 +380,6 @@ jobs: cargo install toml-cli ./.github/workflows/scripts/verify_tag.sh ${{ github.ref_name }} forc/Cargo.toml ./.github/workflows/scripts/verify_tag.sh ${{ github.ref_name }} forc-plugins/forc-client/Cargo.toml - ./.github/workflows/scripts/verify_tag.sh ${{ github.ref_name }} forc-plugins/forc-explore/Cargo.toml ./.github/workflows/scripts/verify_tag.sh ${{ github.ref_name }} forc-plugins/forc-fmt/Cargo.toml ./.github/workflows/scripts/verify_tag.sh ${{ github.ref_name }} forc-plugins/forc-lsp/Cargo.toml ./.github/workflows/scripts/verify_tag.sh ${{ github.ref_name }} forc-pkg/Cargo.toml @@ -615,12 +614,6 @@ jobs: command: install args: --profile=release --path ./forc-plugins/forc-lsp - - name: Install Forc-Explore - uses: actions-rs/cargo@v1 - with: - command: install - args: --profile=release --path ./forc-plugins/forc-explore - - name: Install Forc-Client uses: actions-rs/cargo@v1 with: @@ -643,7 +636,7 @@ jobs: ZIP_FILE_NAME=forc-binaries-${{ env.PLATFORM_NAME }}_${{ env.ARCH }}.tar.gz echo "ZIP_FILE_NAME=$ZIP_FILE_NAME" >> $GITHUB_ENV mkdir -pv ./forc-binaries - for binary in forc forc-fmt forc-lsp forc-explore forc-deploy forc-run forc-doc; do + for binary in forc forc-fmt forc-lsp forc-deploy forc-run forc-doc; do cp $(which ${binary}) ./forc-binaries done tar -czvf $ZIP_FILE_NAME ./forc-binaries diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 2260d47d477..083c8c61373 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -27,9 +27,8 @@ jobs: run: | cargo install --debug --path ./forc-plugins/forc-fmt cargo install --debug --path ./forc-plugins/forc-lsp - cargo install --debug --path ./forc-plugins/forc-explore cargo install --debug --path ./forc-plugins/forc-client - cargo install --debug forc-client + cargo install --debug forc-explore - name: Install mdbook-forc-documenter uses: actions-rs/cargo@v1 with: