From 779c9585da0feca835bef6fffc16ac03b46abfe2 Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Thu, 26 Sep 2024 10:15:53 +0200 Subject: [PATCH] CI: Fix nightly master condition --- .github/workflows/nightly.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 79123a5..5d643ba 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -18,7 +18,7 @@ jobs: with: miniforge-version: latest - name: Upload - if: startsWith(github.ref, 'refs/master') + if: ${{ github.ref == 'refs/heads/master' }} shell: bash -l {0} run: | conda install -y anaconda-client @@ -36,7 +36,7 @@ jobs: with: miniforge-version: latest - name: Upload - if: startsWith(github.ref, 'refs/master') + if: ${{ github.ref == 'refs/heads/master' }} shell: bash -l {0} run: | conda install -y anaconda-client @@ -54,7 +54,7 @@ jobs: with: miniforge-version: latest - name: Upload - if: startsWith(github.ref, 'refs/master') + if: ${{ github.ref == 'refs/heads/master' }} shell: bash -l {0} run: | conda install -y anaconda-client