From e83e18b13edba93b67328fd3274f425a29b4e8ac Mon Sep 17 00:00:00 2001 From: NateScarlet Date: Tue, 24 Nov 2020 21:28:12 +0800 Subject: [PATCH] ci: fix workflow file --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ba49581..fd676f1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,12 +20,12 @@ jobs: - name: Test run: coverage run -m pytest - name: Update(master) - if: ${{ github.ref == "refs/head/master" }} + if: ${{ github.ref == 'refs/heads/master' }} env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} run: coverage run -a ./update.py --release - name: Update - if: ${{ github.ref != "refs/head/master" }} + if: ${{ github.ref != 'refs/heads/master' }} run: coverage run -a ./update.py - name: Report coverage env: