title: Github Action error every step must define a `uses` or `run` key
body: <p>I couldn't make this workflow work, I'm always receiving this error <code>every step must define a &quot;uses&quot; or &quot;run&quot; key</code>, but looking at my script I don't see any issues, can someone pls help me fix this? It does not seem like a <code>-</code> problem as it usually is.</p>
  <pre><code># This is a basic workflow to help you get started with Actions
  
  name: Build Digital Ocean Image
  
  # Controls when the workflow will run
  on:
    # Triggers the workflow on push or pull request events but only for the &quot;master&quot; branch
    push:
      branches:
        - '*'
        - '*/*'
        - '**'
        - '!master'
    pull_request:
      branches: [ &quot;master&quot; ]
  
    # Allows you to run this workflow manually from the Actions tab
    workflow_dispatch:
  
  # A workflow run is made up of one or more jobs that can run sequentially or in parallel
  jobs:
    packages:
      runs-on: ubuntu-latest
  
      steps:
        - name: Install packages
          run: |
            apt-get install curl -y
            curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
            sudo apt-add-repository &quot;deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main&quot;
            sudo apt-get update &amp;&amp; sudo apt-get install packer
            apt-get install ansible -y
    
    # This workflow contains a single job called &quot;build&quot;
    build:
      # The type of runner that the job will run on
      # runs-on: ubuntu-latest
  
      # Steps represent a sequence of tasks that will be executed as part of the job
      steps:
        # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
        - name: Checkout
          uses: actions/checkout@v3
  
        # Runs a single command using the runners shell
        - name: Packer init
          env:
            DIGITALOCEAN_TOKEN=${{ secrets.DIGITALOCEAN_TOKEN }}
          run: packer init
          working-directory: /home/runner/work/packer-do-custom-images/demo
  
        # Runs a set of commands using the runners shell
        - name: Packer build
          run: packer build .
          working-directory: /home/runner/work/packer-do-custom-images/demo
  </code></pre>