Skip to content

pjct name change

pjct name change #1

Workflow file for this run

name: Build Model like artifact to wandb
on:
push:
branches:
- main
paths:
- 'src/model/build.py'
jobs:
build_model:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
id: setup
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
#if: steps.setup.outputs.cache-hit != 'true'
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Login to WandB
run: wandb login ${{ secrets.WANDB_API_KEY }}
- name: Run build.py
run: python src/model/build.py --IdExecution ${{ github.run_number }}