File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
Original file line number Diff line number Diff line change 1+ name : Test Action
2+ on : [push, pull_request]
3+
4+ jobs :
5+ generate_data :
6+ runs-on : ubuntu-latest
7+ name : Generate version data
8+ steps :
9+ - name : Checkout
10+ uses : actions/checkout@v4
11+ - name : Generate version data using local action
12+ uses : ./
13+ - name : Check file contents
14+ run : |
15+ printf "Contents of chart.md:\n"
16+ cat chart.md
17+ printf "\n\n"
18+ printf "Contents of schedule.json:\n"
19+ cat schedule.json
20+ printf "\n\n"
21+ printf "Contents of schedule.md:\n"
22+ cat schedule.md
23+ printf "\n\n"
24+ - name : Remove generated files
25+ run : |
26+ printf "Removing generated files...\n"
27+ rm -f chart.md schedule.json schedule.md
28+ ls -R
29+ - uses : actions/download-artifact@v4
30+ with :
31+ name : spec-zero-versions
32+ - name : Display structure of downloaded files
33+ run : ls -R
Original file line number Diff line number Diff line change 1616 shell : bash
1717 run : |
1818 python spec_zero_versions.py
19- - name : Upload artifact
19+ - name : Upload files as an artifact
2020 uses : actions/upload-artifact@v4
2121 with :
22- name : ${{ inputs.artifact-name }}
23- path : " spec_zero_data/*.tar.xz"
22+ name : spec-zero-versions
23+ path : |
24+ schedule.json
25+ schedule.md
26+ chart.md
Original file line number Diff line number Diff line change 1+ packaging
12pandas
23requests
You can’t perform that action at this time.
0 commit comments