diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index beed67769ab..8ef61324fce 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -11,7 +11,7 @@ defaults: jobs: package: name: build package - runs-on: ubuntu-latest + runs-on: self-hosted strategy: fail-fast: false matrix: @@ -25,6 +25,9 @@ jobs: container: image: vesoft/nebula-dev:${{ matrix.os }} steps: + - uses: webiny/action-post-run@2.0.1 + with: + run: sh -c "find . -mindepth 1 -delete" - uses: actions/checkout@v2 - name: package run: ./package/package.sh @@ -51,7 +54,7 @@ jobs: docker: name: build docker image - runs-on: ubuntu-latest + runs-on: self-hosted strategy: fail-fast: false matrix: @@ -61,6 +64,9 @@ jobs: - storaged - tools steps: + - uses: webiny/action-post-run@2.0.1 + with: + run: sh -c "find . -mindepth 1 -delete" - uses: actions/checkout@v2 - uses: docker/setup-qemu-action@v1 - uses: docker/setup-buildx-action@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1bc97345d8b..31cd8c41921 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,9 @@ jobs: CPACK_DIR: ./pkg-build/cpack_output SYMS_DIR: ./pkg-build/symbols steps: + - uses: webiny/action-post-run@2.0.1 + with: + run: sh -c "find . -mindepth 1 -delete" - uses: actions/checkout@v2 - uses: ./.github/actions/tagname-action id: tag @@ -57,7 +60,7 @@ jobs: docker_build: name: docker-build - runs-on: ubuntu-latest + runs-on: self-hosted strategy: fail-fast: false matrix: @@ -67,6 +70,9 @@ jobs: - storaged - tools steps: + - uses: webiny/action-post-run@2.0.1 + with: + run: sh -c "find . -mindepth 1 -delete" - uses: actions/checkout@v2 - uses: ./.github/actions/tagname-action id: tagname