From 4c2d15438fb253354cac509120c4cb071d370ab5 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Thu, 01 Sep 2022 11:13:07 +0000 Subject: [PATCH] change trugger for xcm-tests --- --- a/.github/workflows/xcm-testnet-build.yml +++ b/.github/workflows/xcm-testnet-build.yml @@ -144,12 +144,16 @@ - name: Build the stack run: cd .docker/ && docker build --no-cache --file ./Dockerfile-xcm.${{ matrix.network }}.yml --tag uniquenetwork/xcm-${{ matrix.network }}-testnet-local:nightly-${{ steps.branchname.outputs.value }}-${{ github.sha }} --tag uniquenetwork/xcm-${{ matrix.network }}-testnet-local:latest . - - name: Push docker version image + - name: Push docker image version run: docker push uniquenetwork/xcm-${{ matrix.network }}-testnet-local:nightly-${{ steps.branchname.outputs.value }}-${{ github.sha }} - name: Push docker image latest run: docker push uniquenetwork/xcm-${{ matrix.network }}-testnet-local:latest + - name: Clean Workspace + if: always() + uses: AutoModality/action-clean@v1.1.0 + - name: Remove builder cache if: always() # run this step always run: | --- a/.github/workflows/xcm-tests.yml +++ b/.github/workflows/xcm-tests.yml @@ -7,14 +7,14 @@ workflows: ["xcm-testnet-build"] types: [requested] # Triggers the workflow on push or pull request events but only for the master branch - # pull_request: - # branches: - # - master - # types: - # - opened - # - reopened - # - synchronize #commit(s) pushed to the pull request - # - ready_for_review + pull_request: + branches: + - master + types: + - opened + - reopened + - synchronize #commit(s) pushed to the pull request + - ready_for_review # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -178,11 +178,12 @@ if: always() # run this step always run: docker-compose -f ".docker/docker-compose.xcm-tests.${{ matrix.network }}.yml" down + - name: Clean Workspace + if: always() + uses: AutoModality/action-clean@v1.1.0 + - name: Remove builder cache if: always() # run this step always run: | docker system prune -a -f - - name: Clean Workspace - if: always() - uses: AutoModality/action-clean@v1.1.0 -- gitstuff