[GH-ISSUE #899] Issue: <shortly describe issue> #534

Closed
opened 2026-03-01 21:44:14 +03:00 by kerem · 4 comments
Owner

Originally created by @tanul-bhasin on GitHub (Nov 22, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/899

Team.
My workflow has this step

- name: Run build
   id: frontend-build
   uses: ./src/shared/github-actions/code/build-job
   with:
      src_path: ${{ env.project_path }}

At this path ./src/shared/github-actions/code/build-job, I have my action.yml but always getting this error

DEBU[0001] file does not exist
DEBU[0001] file does not exist
DEBU[0001] file does not exist
DEBU[0001] file does not exist
Error: file does not exist

I have tried shifting the action.yml to the same folder as workflow with changing uses: value to ./ still getting the same error. Any suggestion please.

Thanks

Originally created by @tanul-bhasin on GitHub (Nov 22, 2021). Original GitHub issue: https://github.com/nektos/act/issues/899 Team. My workflow has this step ``` - name: Run build id: frontend-build uses: ./src/shared/github-actions/code/build-job with: src_path: ${{ env.project_path }} ``` At this path `./src/shared/github-actions/code/build-job, I have my action.yml` but always getting this error > DEBU[0001] file does not exist > DEBU[0001] file does not exist > DEBU[0001] file does not exist > DEBU[0001] file does not exist > Error: file does not exist I have tried shifting the **action.yml** to the same folder as workflow with changing `uses:` value to `./` still getting the same error. Any suggestion please. Thanks
kerem 2026-03-01 21:44:14 +03:00
Author
Owner

@ZauberNerd commented on GitHub (Nov 22, 2021):

I think you're missing - uses: actions/checkout@v2
https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action#example-using-a-private-action

<!-- gh-comment-id:975853835 --> @ZauberNerd commented on GitHub (Nov 22, 2021): I think you're missing `- uses: actions/checkout@v2` https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action#example-using-a-private-action
Author
Owner

@smartaquarius10 commented on GitHub (Nov 22, 2021):

@ZauberNerd , Hmm. now this error is coming at this same step.

DEBU[0014] (StepID: Checkout): Unexpected value 'uses'
DEBU[0014] (StepID: Checkout): Unexpected value 'uses'
DEBU[0014] (StepID: Checkout): Unexpected value 'uses'
DEBU[0014] (StepID: Checkout): Unexpected value 'uses'
DEBU[0014] (StepID: Checkout): Unexpected value 'uses'
DEBU[0014] (StepID: Checkout): Unexpected value 'uses'
DEBU[0014] (StepID: Checkout): Unexpected value 'uses'
DEBU[0014] (StepID: Checkout): Unexpected value 'uses'
DEBU[0014] (StepID: Checkout): Unexpected value 'uses'
DEBU[0014] (StepID: Checkout): Unexpected value 'uses'
Error: (StepID: Checkout): Unexpected value 'uses'

(@ZauberNerd, messaging from my other user id.)

<!-- gh-comment-id:975859809 --> @smartaquarius10 commented on GitHub (Nov 22, 2021): @ZauberNerd , Hmm. now this error is coming at this same step. DEBU[0014] (StepID: Checkout): Unexpected value 'uses' DEBU[0014] (StepID: Checkout): Unexpected value 'uses' DEBU[0014] (StepID: Checkout): Unexpected value 'uses' DEBU[0014] (StepID: Checkout): Unexpected value 'uses' DEBU[0014] (StepID: Checkout): Unexpected value 'uses' DEBU[0014] (StepID: Checkout): Unexpected value 'uses' DEBU[0014] (StepID: Checkout): Unexpected value 'uses' DEBU[0014] (StepID: Checkout): Unexpected value 'uses' DEBU[0014] (StepID: Checkout): Unexpected value 'uses' DEBU[0014] (StepID: Checkout): Unexpected value 'uses' Error: (StepID: Checkout): Unexpected value 'uses' (@ZauberNerd, messaging from my other user id.)
Author
Owner

@smartaquarius10 commented on GitHub (Nov 22, 2021):

Is it not possible to include uses: within composite

<!-- gh-comment-id:975939269 --> @smartaquarius10 commented on GitHub (Nov 22, 2021): Is it not possible to include uses: within composite
Author
Owner

@ZauberNerd commented on GitHub (Nov 22, 2021):

Is it not possible to include uses: within composite

Not yet: https://github.com/nektos/act/pull/793

<!-- gh-comment-id:975943683 --> @ZauberNerd commented on GitHub (Nov 22, 2021): > Is it not possible to include uses: within composite Not yet: https://github.com/nektos/act/pull/793
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#534
No description provided.