"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
build: set default shell to bash in build.yml
Ross Smith II5bf6cd1f4f10
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex e6f7bc0be..8e1a20888 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -23,6 +23,9 @@ jobs:build:if: inputs.manual || (github.repository == 'rclone/rclone' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name))timeout-minutes: 60+ defaults:+ run:+ shell: bashstrategy:fail-fast: falsematrix:@@ -103,7 +106,6 @@ jobs:check-latest: true- name: Set environment variables- shell: bashrun: |echo 'GOTAGS=${{ matrix.gotags }}' >> $GITHUB_ENVecho 'BUILD_FLAGS=${{ matrix.build_flags }}' >> $GITHUB_ENV@@ -112,7 +114,6 @@ jobs:if [[ "${{ matrix.cgo }}" != "" ]]; then echo 'CGO_ENABLED=${{ matrix.cgo }}' >> $GITHUB_ENV ; fi- name: Install Libraries on Linux- shell: bashrun: |sudo modprobe fusesudo chmod 666 /dev/fuse@@ -122,7 +123,6 @@ jobs:if: matrix.os == 'ubuntu-latest'- name: Install Libraries on macOS- shell: bashrun: |# https://github.com/Homebrew/brew/issues/15621#issuecomment-1619266788# https://github.com/orgs/Homebrew/discussions/4612#discussioncomment-6319008@@ -151,7 +151,6 @@ jobs:if: matrix.os == 'windows-latest'- name: Print Go version and environment- shell: bashrun: |printf "Using go at: $(which go)\n"printf "Go version: $(go version)\n"@@ -163,29 +162,24 @@ jobs:env- name: Build rclone- shell: bashrun: |make- name: Rclone version- shell: bashrun: |rclone version- name: Run tests- shell: bashrun: |make quicktestif: matrix.quicktest- name: Race test- shell: bashrun: |make racequicktestif: matrix.racequicktest- name: Run librclone tests- shell: bashrun: |make -C librclone/ctest testmake -C librclone/ctest clean@@ -193,14 +187,12 @@ jobs:if: matrix.librclonetest- name: Compile all architectures test- shell: bashrun: |makemake compile_allif: matrix.compile_all- name: Deploy built binaries- shell: bashrun: |if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then make release_dep_linux ; fimake ci_beta@@ -219,7 +211,6 @@ jobs:steps:- name: Get runner parametersid: get-runner-parameters- shell: bashrun: |echo "year-week=$(/bin/date -u "+%Y%V")" >> $GITHUB_OUTPUTecho "runner-os-version=$ImageOS" >> $GITHUB_OUTPUT@@ -314,7 +305,6 @@ jobs:go-version: '>=1.24.0-rc.1'- name: Set global environment variables- shell: bashrun: |echo "VERSION=$(make version)" >> $GITHUB_ENV@@ -333,7 +323,6 @@ jobs:run: env PATH=$PATH:~/go/bin gomobile bind -androidapi ${RCLONE_NDK_VERSION} -v -target=android/arm -javapkg=org.rclone -ldflags '-s -X github.com/rclone/rclone/fs.Version='${VERSION} github.com/rclone/rclone/librclone/gomobile- name: arm-v7a Set environment variables- shell: bashrun: |echo "CC=$(echo $ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi${RCLONE_NDK_VERSION}-clang)" >> $GITHUB_ENVecho "CC_FOR_TARGET=$CC" >> $GITHUB_ENV@@ -347,7 +336,6 @@ jobs:run: go build -v -tags android -trimpath -ldflags '-s -X github.com/rclone/rclone/fs.Version='${VERSION} -o build/rclone-android-${RCLONE_NDK_VERSION}-armv7a .- name: arm64-v8a Set environment variables- shell: bashrun: |echo "CC=$(echo $ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android${RCLONE_NDK_VERSION}-clang)" >> $GITHUB_ENVecho "CC_FOR_TARGET=$CC" >> $GITHUB_ENV@@ -360,7 +348,6 @@ jobs:run: go build -v -tags android -trimpath -ldflags '-s -X github.com/rclone/rclone/fs.Version='${VERSION} -o build/rclone-android-${RCLONE_NDK_VERSION}-armv8a .- name: x86 Set environment variables- shell: bashrun: |echo "CC=$(echo $ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android${RCLONE_NDK_VERSION}-clang)" >> $GITHUB_ENVecho "CC_FOR_TARGET=$CC" >> $GITHUB_ENV@@ -373,7 +360,6 @@ jobs:run: go build -v -tags android -trimpath -ldflags '-s -X github.com/rclone/rclone/fs.Version='${VERSION} -o build/rclone-android-${RCLONE_NDK_VERSION}-x86 .- name: x64 Set environment variables- shell: bashrun: |echo "CC=$(echo $ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android${RCLONE_NDK_VERSION}-clang)" >> $GITHUB_ENVecho "CC_FOR_TARGET=$CC" >> $GITHUB_ENV