Skip to content

Generate Text File

Generate Text File #17

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 "please please" > hello.txt
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: hello-text
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 / Generate Text File

Invalid workflow file

The workflow is not valid. .github/workflows/generate-file.yml (Line: 15, Col: 11): Input run-id is required, but not provided while calling. .github/workflows/generate-file.yml (Line: 18, Col: 15): Invalid input, run_id is not defined in the referenced workflow.
with:
workflow-name: generate-file.yml
run_id: ${{ github.run_id }}
# run_id: ${{ github.event.workflow_run.id }}
secrets: inherit
# runs-on: ubuntu-latest
# steps:
# - name: Upload to s3
# uses: dan-german/blocks/.github/workflows/upload-to-s3.yml@main
# with:
# workflow-name: ${{ github.workflow }}