From b809fe2a19a1753ccc25f65630040c497b687795 Mon Sep 17 00:00:00 2001 From: mihanix Date: Wed, 15 Nov 2023 12:40:53 +0300 Subject: [PATCH] update workflow --- .github/workflows/deploy_mumbai.yml | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/.github/workflows/deploy_mumbai.yml b/.github/workflows/deploy_mumbai.yml index 6a4c27e5..d10414bd 100644 --- a/.github/workflows/deploy_mumbai.yml +++ b/.github/workflows/deploy_mumbai.yml @@ -16,19 +16,6 @@ jobs: - uses: actions/checkout@v3 with: submodules: recursive - - - name: hit yarn cache - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - - name: cache yarn - uses: actions/cache@v2 - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - name: build node modules run: yarn install --non-interactive @@ -45,12 +32,8 @@ jobs: run: forge test - name: deploy contracts to mumbai - run: | - forge build - forge test - forge script ./script/DeployAll.s.sol \ - --rpc-url ${{ secrets.mumbai_rpc_url }} \ - --etherscan-api-key ${{ secrets.polygonscan_api_key }} \ - --private-key $PVK_A1 \ - --broadcast \ - --verify + run: forge script ./script/DeployAll.s.sol --rpc-url ${{ secrets.mumbai_rpc_url }} \ + --etherscan-api-key ${{ secrets.polygonscan_api_key }} \ + --private-key $PVK_A1 \ + --broadcast \ + --verify