Skip to content

Install azcopy

Actions
Install azcopy and add it to PATH
v1.0.8
Latest
Star (2)

Tags

 (1)

install-azcopy-action

install-azcopy-action status release

Usage

Basic

steps:
- uses: actions/checkout@v2
- uses: kheiakiyama/install-azcopy-action@v1
  with:
    version: 'v10'
- run: azcopy_v10 --source {SOURCE} --destination {DEST} --dest-key ${{ secrets.STORAGE_KEY }} --recursive --set-content-type

Use with credential

steps:
- uses: actions/checkout@v2
- uses: kheiakiyama/install-azcopy-action@v1
  with:
    version: 'v10'
    creds: ${{ secrets.AZURE_CREDENTIALS }}
- run: azcopy_v10 --source {SOURCE} --destination {DEST} --recursive --set-content-type

This credentials feature is for sharing same credentials with azure-login.
How to create Azure credentials?
-> Please check azure-login page.

install-azcopy-action only support authorize with a service principal using a lient secret.
https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-authorize-azure-active-directory#authorize-a-service-principal-by-using-a-client-secret

Develop

install-azcopy-action is tested below.

  • ubuntu-22.04(ubuntu-latest)
  • ubuntu-20.04
  • macos-12.0(macos-latest)
  • macos-11.0
  • windows-2022(windows-latest)
  • windows-2019

GitHub - Supported runners If you need to add another environment, please post a issue.

See develop-references.yml

Install azcopy is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Install azcopy and add it to PATH
v1.0.8
Latest

Tags

 (1)

Install azcopy is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.