Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

build: fix condition for manual workflow run

albertony5b82576dbf6e
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7c56e8d38..e2e15da4b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -15,12 +15,14 @@ on:
workflow_dispatch:
inputs:
manual:
+ description: Manual run (bypass default conditions)
+ type: boolean
required: true
default: true
jobs:
build:
- if: ${{ github.repository == 'rclone/rclone' || github.event.inputs.manual }}
+ if: ${{ github.repository == 'rclone/rclone' || github.event.inputs.manual == 'true' }}
timeout-minutes: 60
strategy:
fail-fast: false
@@ -218,7 +220,7 @@ jobs:
if: matrix.deploy && github.head_ref == '' && github.repository == 'rclone/rclone'
lint:
- if: ${{ github.repository == 'rclone/rclone' || github.event.inputs.manual }}
+ if: ${{ github.repository == 'rclone/rclone' || github.event.inputs.manual == 'true' }}
timeout-minutes: 30
name: "lint"
runs-on: ubuntu-latest
@@ -247,7 +249,7 @@ jobs:
run: govulncheck ./...
android:
- if: ${{ github.repository == 'rclone/rclone' || github.event.inputs.manual }}
+ if: ${{ github.repository == 'rclone/rclone' || github.event.inputs.manual == 'true' }}
timeout-minutes: 30
name: "android-all"
runs-on: ubuntu-latest