Skip to content

Generate Text File

Generate Text File #55

Workflow file for this run

name: Generate Text File
on: [workflow_dispatch]
jobs:
generate_text_file:
runs-on: ubuntu-latest
steps:
- name: Create Text File
run: echo "1" > hello.txt
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: files
path: hello.txt
upload-to-s3:
uses: ./.github/workflows/upload-to-s3.yml

Check failure on line 15 in .github/workflows/generate-file.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/generate-file.yml

Invalid workflow file

error parsing called workflow ".github/workflows/generate-file.yml" -> "./.github/workflows/upload-to-s3.yml" (source branch with sha:4cb1fbabb38a207582660882b9cdda15e9cba9d1) : every step must define a `uses` or `run` key
secrets: inherit
needs: generate_text_file
with:
file-name: hello.txt