"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: stop using set-env and set-path in the GitHub actions
Nick Craig-Wooda152351a71ce
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex a4e1b11b5..507dc9a3d 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -107,10 +107,10 @@ jobs:- name: Set environment variablesshell: bashrun: |- echo '::set-env name=GOTAGS::${{ matrix.gotags }}'- echo '::set-env name=BUILD_FLAGS::${{ matrix.build_flags }}'- if [[ "${{ matrix.goarch }}" != "" ]]; then echo '::set-env name=GOARCH::${{ matrix.goarch }}' ; fi- if [[ "${{ matrix.cgo }}" != "" ]]; then echo '::set-env name=CGO_ENABLED::${{ matrix.cgo }}' ; fi+ echo 'GOTAGS=${{ matrix.gotags }}' >> $GITHUB_ENV+ echo 'BUILD_FLAGS=${{ matrix.build_flags }}' >> $GITHUB_ENV+ if [[ "${{ matrix.goarch }}" != "" ]]; then echo 'GOARCH=${{ matrix.goarch }}' >> $GITHUB_ENV ; fi+ if [[ "${{ matrix.cgo }}" != "" ]]; then echo 'CGO_ENABLED=${{ matrix.cgo }}' >> $GITHUB_ENV ; fi- name: Install Libraries on Linuxshell: bash@@ -135,10 +135,10 @@ jobs:run: |$ProgressPreference = 'SilentlyContinue'choco install -y winfsp zip- Write-Host "::set-env name=CPATH::C:\Program Files\WinFsp\inc\fuse;C:\Program Files (x86)\WinFsp\inc\fuse"+ echo "CPATH=C:\Program Files\WinFsp\inc\fuse;C:\Program Files (x86)\WinFsp\inc\fuse" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Appendif ($env:GOARCH -eq "386") {choco install -y mingw --forcex86 --force- Write-Host "::add-path::C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw32\\bin"+ echo "C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw32\\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append}# Copy mingw32-make.exe to make.exe so the same command line# can be used on Windows as on macOS and Linux@@ -225,8 +225,8 @@ jobs:- name: Set environment variablesshell: bashrun: |- echo '::set-env name=GOPATH::${{ runner.workspace }}'- echo '::add-path::${{ runner.workspace }}/bin'+ echo 'GOPATH=${{ runner.workspace }}' >> $GITHUB_ENV+ echo '${{ runner.workspace }}/bin' >> $GITHUB_PATH- name: Cross-compile rclonerun: |