Missing files that have not yet been commited and pushed

Viewed 18

Hello I'm trying to test my actions locally using https://github.com/nektos/act

But the problem is when I want to use some of the files that have not yet been committed and pushed to the remote, act says that these files don't exist. How to solve it? Below is my action config.

As you can seen in first step I'm doing a checkout to actions@v3. Without this, the next step shows nothing, but when I do checkout then it seems that my local sources are not get into consideration.

name: Main

on: [push, workflow_dispatch]

jobs:
  terffere:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - id: ls
        run: ls -la ./.github/workflows
        shell: bash
0 Answers
Related