Skip to content

Test action

Test action #14

Workflow file for this run

name: Test Action
on: [push, pull_request]
jobs:
generate_data:
runs-on: ubuntu-latest
name: Generate version data
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Generate version data using local action
uses: ./
- name: Check file contents
run: |
printf "Contents of chart.md:\n"
cat chart.md
printf "\n\n"
printf "Contents of schedule.json:\n"
cat schedule.json
printf "\n\n"
printf "Contents of schedule.md:\n"
cat schedule.md
printf "\n\n"
# Clean up so we can download the artifact
printf "Cleaning up...\n"
rm -f chart.md schedule.json schedule.md
- uses: actions/download-artifact@v4
with:
name: spec-zero-versions
- name: Display structure of downloaded files
run: ls -R