Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

uses: keyword is not currently supported #3

Open
mayong43111 opened this issue Nov 19, 2021 · 3 comments
Open

uses: keyword is not currently supported #3

mayong43111 opened this issue Nov 19, 2021 · 3 comments

Comments

@mayong43111
Copy link
Contributor

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

@fedeoliv
Copy link
Contributor

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

@fedeoliv
Copy link
Contributor

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

@mayong43111
Copy link
Contributor Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants