Let us see what will happen again #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#name: hello-world | |
#on: push | |
#jobs: | |
# hello-world-job: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Check out repository code | |
# uses: actions/checkout@v4 | |
# - run: echo "$(cat hello_world.txt)" | |
name: hello-world | |
on: push | |
jobs: | |
upload-sample-file: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Run script | |
working-directory: ./src | |
run: python create_file.py | |
- name: Upload sample file | |
uses: actions/upload-artifact@v4 | |
with: | |
name: sample-file | |
path: ./output_files/sample_file.txt |