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

Error: Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/xxxx #2015

Closed
sunflower-knight opened this issue Apr 15, 2023 · 2 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@sunflower-knight
Copy link

image

name: Compile Code Daily and Update cache

on:
  push:
    branches: [ main]
    # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

jobs:
  linux-clang:
    runs-on: ubuntu-22.04
    steps:
      - name: Checkout
        uses: actions/checkout@v3
        with:
          ref: main
      - name: ls dir
        run: |
          ls -al ./.github/workflows/linux.yml
          pwd
      - name: Build with Clang on Ubuntu 22.04
        uses: ./.github/workflows/linux.yml

I don't know why I wrong. The local workflow file exit in the path.

@Astrabacus
Copy link

Astrabacus commented Apr 15, 2023 via email

@JamesMGreene JamesMGreene self-assigned this Jul 12, 2023
@JamesMGreene JamesMGreene added the invalid This doesn't seem right label Jul 12, 2023
@JamesMGreene
Copy link
Contributor

Other workflows can only be reused as whole jobs within a workflow, not as steps.

Please refer to the documentation for more information:
https://docs.github.com/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow

@JamesMGreene JamesMGreene closed this as not planned Won't fix, can't repro, duplicate, stale Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants