Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Getting Error: uses: keyword is not currently supported when using above 12.2 version #333

Closed
3 tasks done
ClenchPaign opened this issue Jan 28, 2022 · 5 comments
Closed
3 tasks done
Labels
bug Something isn't working

Comments

@ClenchPaign
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Does this issue exist in the latest version?

  • I'm using the latest release

Describe the bug?

I am getting Error: uses: keyword is not currently supported in the Set up job step after downloading all the actions. This happens from the latest 14.1 down to 13. I checked with version 12.2, the issue doesn't occur.

Current runner version: '2.286.1'
Runner name: 'actions-runner-deployment-jznqh-h6x2h'
Runner group name: 'Default'
Machine name: 'actions-runner-deployment-jznqh-h6x2h'
GITHUB_TOKEN Permissions
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v2' (SHA:ec3a7ce113134d7a93b817d10a8272cb61118579)
Download action repository 'tj-actions/changed-files@v14.1' (SHA:445bbefc90b76c794710efc73b01e1438611cad3)
Download action repository 'actions/github-script@v2' (SHA:44b873bc975058192f5279ebe7579496381f575d)
Download action repository 'actions/setup-java@v2' (SHA:f0bb91606209742fe3ea40199be2f3ef195ecabf)
Download action repository 'gradle/wrapper-validation-action@v1' (SHA:e6e38bacfdf1a337459f332974bb2327a31aaf4b)
Download action repository 'C2E/action-surefire-report@master' (SHA:f01db0d1e61e196ed61ebe54e2a39e3337c645b9)
Download action repository 'EnricoMi/publish-unit-test-result-action@v1' (SHA:bffeee8009970dbb7444de4027c06333c97a8a54)
Download action repository 'actions/upload-artifact@v2' (SHA:82c141cc518b40d92cc801eee768e7aafc9c2fa2)
Download action repository 'docker/setup-buildx-action@v1' (SHA:94ab11c41e45d028884a99163086648e898eed25)
Download action repository 'mathieudutour/github-tag-action@v6.0' (SHA:d745f2e74aaf1ee82e747b181f7a0967978abee0)
Download action repository 'docker/login-action@v1' (SHA:42d299face0c5c43a0487c477f595ac9cf22f1a7)
Error: `uses:` keyword is not currently supported.

When using version 12.2, it works.

Current runner version: '2.286.1'
Runner name: 'actions-runner-deployment-jznqh-h6x2h'
Runner group name: 'Default'
Machine name: 'actions-runner-deployment-jznqh-h6x2h'
GITHUB_TOKEN Permissions
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v2' (SHA:ec3a7ce113134d7a93b817d10a8272cb61118579)
Download action repository 'tj-actions/changed-files@v12.2' (SHA:00f80efd45353091691a96565de08f4f50c685f8)
Download action repository 'actions/github-script@v2' (SHA:44b873bc975058192f5279ebe7579496381f575d)
Download action repository 'actions/setup-java@v2' (SHA:f0bb91606209742fe3ea40199be2f3ef195ecabf)
Download action repository 'gradle/wrapper-validation-action@v1' (SHA:e6e38bacfdf1a337459f332974bb2327a31aaf4b)
Download action repository 'C2E/action-surefire-report@master' (SHA:f01db0d1e61e196ed61ebe54e2a39e3337c645b9)
Download action repository 'EnricoMi/publish-unit-test-result-action@v1' (SHA:bffeee8009970dbb7444de4027c06333c97a8a54)
Download action repository 'actions/upload-artifact@v2' (SHA:82c141cc518b40d92cc801eee768e7aafc9c2fa2)
Download action repository 'docker/setup-buildx-action@v1' (SHA:94ab11c41e45d028884a99163086648e898eed25)
Download action repository 'mathieudutour/github-tag-action@v6.0' (SHA:d745f2e74aaf1ee82e747b181f7a0967978abee0)
Download action repository 'docker/login-action@v1' (SHA:42d299face0c5c43a0487c477f595ac9cf22f1a7)
...
0s
Run tj-actions/changed-files@v12.2
  with:
    base_sha: 3d2a899e4a869b3ff72ed39cfd50160f48c4b6dd
    sha: a2a1aa637e5f05e787793aee0ba0f703a5de783f
    since_last_remote_commit: true
    files: microservices/ingress/**
  common/libs/**
  tests/**
  
    token: ***
    separator:  
  env:
    IMAGE: ingress
    WORKING_DIR: microservices/ingress
    TAG_PREFIX: IN_v
    STABLE_TAG: stable
Run bash $GITHUB_ACTION_PATH/sourcefiles.sh
changed-files-from-source-file
Run # "Set base sha..."
Run bash $GITHUB_ACTION_PATH/entrypoint.sh
changed-files

Please help.

To Reproduce

Use 14.1 in a self-hosted runner

What OS are you seeing the problem on?

ubuntu-latest or ubuntu-20.04

Expected behavior?

It should work properly

Relevant log output

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ClenchPaign ClenchPaign added the bug Something isn't working label Jan 28, 2022
@github-actions
Copy link
Contributor

Thanks for reporting this issue.

@jackton1 jackton1 changed the title Getting Error: uses: keyword is not currently supported when using above 12.2 version [BUG]: Getting Error: uses: keyword is not currently supported when using above 12.2 version Jan 28, 2022
@jackton1 jackton1 changed the title [BUG]: Getting Error: uses: keyword is not currently supported when using above 12.2 version [BUG] Getting Error: uses: keyword is not currently supported when using above 12.2 version Jan 28, 2022
@jackton1
Copy link
Member

jackton1 commented Jan 28, 2022

Related PR: actions/runner#612

@jackton1
Copy link
Member

@ClenchPaign For now I'll suggest downgrading to v12.2 and would be back-porting the latest changes excluding "Glob pattern" filtering pending feedback on this.

I'll also replicate this to find a possible resolution.

@jackton1
Copy link
Member

jackton1 commented Feb 1, 2022

@ClenchPaign Since this bug isn’t an issue with this action but a problem reusing actions this can be closed and any further support can be provided on the PR linked above.

@jackton1 jackton1 closed this as completed Feb 1, 2022
@jackton1
Copy link
Member

jackton1 commented Feb 2, 2022

@ClenchPaign I tested this using a self-hosted runner on mac and it's working fine.

Things to note:

Current runner version: '2.287.1'

I'll be updating the docs to reflect this let me know if you hit any other issues. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants