Skip to content

Follow-up for #1854. Fix migration guide update. Bump tf-keras to 2.1… #224

Follow-up for #1854. Fix migration guide update. Bump tf-keras to 2.1…

Follow-up for #1854. Fix migration guide update. Bump tf-keras to 2.1… #224

Workflow file for this run

name: Upload to S3
on:
push:
branches: [master]
jobs:
build:
strategy:
fail-fast: false
runs-on: ubuntu-latest
env:
AWS_S3_ACCESS_KEY: ${{ secrets.AWS_S3_ACCESS_KEY }}
AWS_S3_SECRET_KEY: ${{ secrets.AWS_S3_SECRET_KEY }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Get pip cache dir
id: pip-cache
run: |
python -m pip install --upgrade pip setuptools
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
- name: pip cache
uses: actions/cache@v3
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
- name: Install dependencies
run: |
pip install -r requirements.txt --progress-bar off --upgrade
pip install keras --upgrade
- name: Build website
run: |
python scripts/autogen.py make
- name: Upload files
run: |
python scripts/upload.py