Skip to content

(fix) Future attributes #9

(fix) Future attributes

(fix) Future attributes #9

Workflow file for this run

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