Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.28 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.28 KB

azblob-download-artifact

Test

This downloads artifacts from Azure Blob Storage. It follows usage of actions/download-artifact for easy migration.

See also azblob-upload-artifact.

Usage

Get Azure Storage connection strings and specify it to connection-string through Github secrets like:

steps:
- uses: actions/checkout@v1

- uses: fixpoint/azblob-download-artifact@v3
  with:
    connection-string: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING }}
    name: my-artifact

-run: cat my-artifact

Download to specific directory:

steps:
  - uses: actions/checkout@v1

  - uses: fixpoint/azblob-download-artifact@v3
    with:
      connection-string: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING }}
      name: my-artifact
      path: path/to/artifact

  - run: cat path/to/artifact

See action.yml for more detail.

License

This scripts and documentation in this project are released under the MIT License.