Azure / data-factory-deploy-action

GitHub Action for side-effect free deployment of Azure Data Factory resources
MIT License
29 stars 24 forks source link

`uses:` keyword is not currently supported #3

Open mayong43111 opened 2 years ago

mayong43111 commented 2 years ago

I have a workflow like this:

        - name: Login via Az module
          uses: azure/login@v1
          with:
            creds: ${{ secrets.AZURE_CREDENTIALS }}
            enable-AzPSSession: true

        - name: publish ADF resource
          uses: Azure/data-factory-deploy-action@v1.1.0
          with:
            resourceGroupName: Dev-DataOps-BigData
            dataFactoryName: poc-dataops-adf-etl-cn2
            armTemplateFile: ./dev-dataops-adf-etl-cn2/ARMTemplateForFactory.json
            armTemplateParametersFile: ./dev-dataops-adf-etl-cn2/ARMTemplateParametersForFactory_POC_CN2.json

but an error has occurred and the message is : uses: keyword is not currently supported. and log is

Current runner version: '2.284.0'
Runner name: 'runner01'
Runner group name: 'Default'
Machine name: 'ghe-runn'
GITHUB_TOKEN Permissions
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v2' (SHA:5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f)
Download action repository 'azure/login@v1' (SHA:89d153571fe9a34ed70fcf9f1d95ab8debea7a73)
Download action repository 'Azure/data-factory-deploy-action@v1.1.0' (SHA:27ee1c6cf0cd5ce53452afccfa7f634bece1c61a)
Error: `uses:` keyword is not currently supported.

Such as log can be seen ,my runner version is 2.284.

thank a lot

fedeoliv commented 2 years ago

Hello @mayong43111, it appears that this functionality was removed (temporarily I hope), but not sure about the reasoning. Just saw this thread: https://github.com/openstreetmap/mod_tile/issues/256

fedeoliv commented 2 years ago

Are you using self-hosted agents? Could you please try using a previous agent version to check if it works?

mayong43111 commented 2 years ago

Hi @fedeoliv , I created a new runner and version is 2.280.3, it host in windows 2019 datacenter. but But the question remains.

Current runner version: '2.280.3'
Runner name: 'runner02'
Runner group name: 'Default'
Machine name: 'lenovo-ghe-runn'
GITHUB_TOKEN Permissions
  Actions: write
  Checks: write
  Contents: write
  Deployments: write
  Discussions: write
  Issues: write
  Metadata: read
  Packages: write
  PullRequests: write
  RepositoryProjects: write
  SecurityEvents: write
  Statuses: write
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v2' (SHA:5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f)
Download action repository 'azure/login@v1' (SHA:89d153571fe9a34ed70fcf9f1d95ab8debea7a73)
Download action repository 'azure/data-factory-deploy-action@v1.1.0' (SHA:27ee1c6cf0cd5ce53452afccfa7f634bece1c61a)
Error: `uses:` keyword is not currently supported.