From 325f7291effdd63670863d899e8e9154513a8fb9 Mon Sep 17 00:00:00 2001 From: estrella Date: Mon, 12 Jun 2023 22:10:58 +0800 Subject: [PATCH] fix: workflows problem --- .github/workflows/build.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index edd975a5..53006424 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,12 +25,15 @@ jobs: pytest build-webui: - runs-on: ubuntu-latest if: > ${{ github.event_name == 'pull_request' }} || ${{ github.event_name == 'push' && github.ref_type == 'tag' && (contains(github.ref, 'alpha') || contains(github.ref, 'beta')) }} + runs-on: ubuntu-latest needs: [test] steps: + - name: Debug + run: | + echo "${{ - name: Checkout uses: actions/checkout@v3 @@ -143,10 +146,10 @@ jobs: cache-to: type=gha, scope=${{ github.workflow }} release: - runs-on: ubuntu-latest if: > - ${{ github.event_name == 'pull_request' && github.event.pull_request.merged == true }} - || ${{ github.event_name == 'push' && contains(github.ref, 'tags') }} + ${{ github.event_name == 'pull_request' && github.event.pull_request.merged == true }} || + ${{ github.event_name == 'push' && contains(github.ref, 'tags') }} + runs-on: ubuntu-latest needs: [ build-docker ] steps: @@ -198,4 +201,4 @@ jobs: token: ${{ secrets.TELEGRAM_TOKEN }} message: | New release: ${{ github.event.release.title }} - Link: ${{ github.event.release.html_url }} \ No newline at end of file + Link: ${{ github.event.release.html_url }}