Test reusable action #10
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: download-data | |
on: | |
push: | |
branches: | |
- reusable-s3-download-action | |
jobs: | |
download-data-json: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: download data | |
uses: ./.github/actions/download-from-s3 | |
with: | |
file-path: data.json | |
- name: download schedule vs realtime | |
uses: ./.github/actions/download-from-s3 | |
with: | |
file-path: schedule_vs_realtime_all_day_types_routes.json | |
- run: | | |
git config --local user.email "action@github.com" | |
git config --local user.name "GitHub Action" | |
git add . | |
git diff-index --quiet HEAD || git commit -m "update data.json and schedule_vs_realtime_all_day_types_routes.json" -a | |
git push origin main:main | |