From 9ba56e39f2bbc4e75a2a4dbea3b7ba6a2664a8e1 Mon Sep 17 00:00:00 2001 From: DC Date: Fri, 21 Jul 2023 00:16:08 +0800 Subject: [PATCH] Update build-mosdns.yml --- .github/workflows/build-mosdns.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-mosdns.yml b/.github/workflows/build-mosdns.yml index 8f9a2fb9..268ba63e 100644 --- a/.github/workflows/build-mosdns.yml +++ b/.github/workflows/build-mosdns.yml @@ -32,11 +32,13 @@ jobs: with: ref: mosdns path: mosdns + - name: Clean mosdns branch + if: github.event_name == 'schedule' + continue-on-error: true + run: rm mosdns/* - name: Rebuild mosdns branch if: github.event_name == 'schedule' - run: | - rm mosdns/* - ./exp_mosdns.sh + run: ./exp_mosdns.sh - name: Push to mosdns branch if: github.event_name == 'schedule' continue-on-error: true