difftreelog
change trugger for xcm-tests
in: master
2 files changed
.github/workflows/xcm-testnet-build.ymldiffbeforeafterboth144 - name: Build the stack144 - name: Build the stack145 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 .145 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 .146146147 - name: Push docker version image 147 - name: Push docker image version148 run: docker push uniquenetwork/xcm-${{ matrix.network }}-testnet-local:nightly-${{ steps.branchname.outputs.value }}-${{ github.sha }}148 run: docker push uniquenetwork/xcm-${{ matrix.network }}-testnet-local:nightly-${{ steps.branchname.outputs.value }}-${{ github.sha }}149149150 - name: Push docker image latest150 - name: Push docker image latest151 run: docker push uniquenetwork/xcm-${{ matrix.network }}-testnet-local:latest151 run: docker push uniquenetwork/xcm-${{ matrix.network }}-testnet-local:latest152153 - name: Clean Workspace154 if: always()155 uses: AutoModality/action-clean@v1.1.0152156153 - name: Remove builder cache157 - name: Remove builder cache154 if: always() # run this step always158 if: always() # run this step always.github/workflows/xcm-tests.ymldiffbeforeafterboth--- 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