diff --git a/.github/workflows/build-net.yml b/.github/workflows/build-net.yml index e2e6c31f..e3fc4cc7 100644 --- a/.github/workflows/build-net.yml +++ b/.github/workflows/build-net.yml @@ -32,11 +32,13 @@ jobs: with: ref: net path: net + - name: Clean net branch + if: github.event_name == 'schedule' + continue-on-error: true + run: rm net/* - name: Rebuild net branch if: github.event_name == 'schedule' - run: | - rm net/* - ./exp_net.sh + run: ./exp_net.sh - name: Push to net branch if: github.event_name == 'schedule' continue-on-error: true