This upload artifacts from your workflow to Azure Blob Storage. It follows usage of actions/upload-artifact for easy migration.
See also azblob-download-artifact.
Get Azure Storage connection strings and specify it to connection-string through Github secrets like:
steps: - uses: actions/checkout@v4 - run: mkdir -p path/to/artifact - run: echo hello > path/to/artifact/world.txt - uses: fixpoint/azblob-upload-artifact@v4with: connection-string: ${{secrets.AZURE_STORAGE_CONNECTION_STRING }}name: my-artifactpath: path/to/artifactTo upload artifacts only when the previous step of a job failed, use if: failure():
- uses: fixpoint/azblob-upload-artifact@v4if: failure()with: connection-string: ${{secrets.AZURE_STORAGE_CONNECTION_STRING }}name: my-artifactpath: path/to/artifactSee action.yml for more detail.
This scripts and documentation in this project are released under the MIT License.