MNT: upgrade upload/download-artifact GitHub actions #45
Workflow file for this run
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: Test deployment scripts | |
'on': | |
pull_request: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install Python dependencies | |
run: | | |
python -m pip install -U pip | |
python -m pip install -r deployment/requirements.txt | |
- name: Check Astropy Librarian installation | |
run: | | |
astropylibrarian --help | |
- name: Download latest tutorials | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
python deployment/installtutorials.py --dest public/tutorials | |
- name: List tutorials | |
run: | | |
tree public |