diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b8ea372e3..2ff1ae02b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -352,4 +352,4 @@ jobs: env: RCLONE_CONFIG_PASS: ${{ secrets.RCLONE_CONFIG_PASS }} # Upload artifacts if not a PR && not a fork - if: github.head_ref == '' && github.repository == 'rclone/rclone' + if: env.RCLONE_CONFIG_PASS != '' && github.head_ref == '' && github.repository == 'rclone/rclone'