data-factory-deploy-action
data-factory-deploy-action copied to clipboard
`uses:` keyword is not currently supported
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/[email protected]
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/[email protected]' (SHA:27ee1c6cf0cd5ce53452afccfa7f634bece1c61a)
Error: `uses:` keyword is not currently supported.
Such as log can be seen ,my runner version is 2.284.
thank a lot
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
Are you using self-hosted agents? Could you please try using a previous agent version to check if it works?
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/[email protected]' (SHA:27ee1c6cf0cd5ce53452afccfa7f634bece1c61a)
Error: `uses:` keyword is not currently supported.