EDIT: SORRY I’m blind!!! I guess “actions:” does exist as something I am supposed to put in. I’m sorry!
If possible I’d like to close this thread.
I’m having a difficult time getting this tutorial to recognize the code in my yaml file.
Here is the state of my yaml:
name: JS Actions on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1
To which I get the error:
Uh oh, I’m specifically looking to see whether
.github/workflows/my-workflow.yml contains the following code:
I’ll respond when I detect a new commit on this branch.
This is a little confusing, as I haven’t seen the word “action:” Even more confusing is that “got” is empty, when I definitely have exactly the above pushed to the proper branch.
The instructions tell me to do this:
- Edit the
my-workflow.ymlto have the following contents:
name: JS Actions on: [push] jobs: action: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1
Furthermore, when I add another line below - uses: actions/checkout@v1, it gives me an error, telling me that the last line should be - uses: actions/checkout@v1
Here is my yml file. I do not see any extra lines, spaces, or characters after this command like the screenshot suggests I have
Am I missing something?