(fix) Future attributes #9
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: Release | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
buildTest: | |
uses: pabramber01/F1-Prediction/.github/workflows/build.yml@main | |
release: | |
needs: buildTest | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pages: write | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
cache: "pip" | |
- name: Install dependencies | |
run: pip install -r ./requirements.txt | |
- name: Build the book | |
run: PYDEVD_DISABLE_FILE_VALIDATION=1 jb build -qq . | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: "_build/html/" | |
- name: Deploy to GitHub Pages | |
uses: actions/deploy-pages@v4 | |
- name: Release | |
uses: softprops/action-gh-release@v1 |