From dd640dbca98086619e47f7d45a5282d4cbd43cd8 Mon Sep 17 00:00:00 2001 From: DC Date: Fri, 21 Jul 2023 00:16:54 +0800 Subject: [PATCH] Update build-net.yml --- .github/workflows/build-net.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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