Skip to content

"Invalid downloading url" when "Downloading AzCopy ..." #193

Description

With this config:

jobs:
  build-and-publish-dist:
    needs: versioning
    runs-on: ubuntu-latest
    steps:
      ...
      - name: Sync to account storage
        if: ${{ needs.versioning.outputs.release_created == 'false' }}
        uses: azure/cli@v2
        with:
          azcliversion: 2.84.0
          inlineScript: |
            az storage blob sync \
              --account-name ****** \
              --container "\$web" \
              --source ./dist \
              --account-key "${{ secrets.AZURE_SPA_ACCOUNT_KEY }}"

I get this error:

Run azure/cli@v2
Starting script execution via docker image mcr.microsoft.com/azure-cli:2.84.0
WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
WARNING: Positional argument '<EXTRA_OPTIONS>' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
WARNING: Azcopy not found, installing at /root/.azure/bin/azcopy
WARNING: There is an error downloading from the url: https://azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net/release20211027/azcopy_linux_amd64_10.13.0.tar.gz
WARNING: Downloading AzCopy from https://release-assets.githubusercontent.com/github-production-release-asset/114798676/862648be-824b-4bce-a60d-43e6cef89786?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-03-11T16%3A49%3A52Z&rscd=attachment%3B+filename%3Dazcopy_linux_amd64_10.32.1.tar.gz&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-03-11T15%3A49%3A21Z&ske=2026-03-11T16%3A49%3A52Z&sks=b&skv=2018-11-09&sig=38lDapZrPCPGEPF8KuDhCZxgC0fu7T8kXPqBCVBkyWU%3D&jwt=***
ERROR: Invalid downloading url https://release-assets.githubusercontent.com/github-production-release-asset/114798676/862648be-824b-4bce-a60d-43e6cef89786?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-03-11T16%3A49%3A52Z&rscd=attachment%3B+filename%3Dazcopy_linux_amd64_10.32.1.tar.gz&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-03-11T15%3A49%3A21Z&ske=2026-03-11T16%3A49%3A52Z&sks=b&skv=2018-11-09&sig=38lDapZrPCPGEPF8KuDhCZxgC0fu7T8kXPqBCVBkyWU%3D&jwt=***
Error: Error: az cli script failed.
cleaning up container...
MICROSOFT_AZURE_CLI_1773245643612_CONTAINER

Error: az cli script failed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions