0. Testing Login to WandB #1
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: 0. Testing Login to WandB | |
on: | |
workflow_dispatch: # Allows manual execution only | |
jobs: | |
login: | |
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.12' | |
cache: 'pip' | |
- name: Install WandB | |
run: pip install wandb | |
- name: Login to WandB | |
env: | |
WANDB_API_KEY: ${{ secrets.WANDB_API_KEY }} | |
run: wandb login $WANDB_API_KEY |