Skip to content

osbm/kaggle-login

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 

Repository files navigation

A github action to login to kaggle

This is a very simple composite action that install kaggle and logs into kaggle.

You need to set the username and the key as repository secrets.

example usage:

on: 
  workflow_dispatch: # manually trigger the action
  push: # automatically trigger the action when a new commit is pushed to the repo


jobs:
  testitout:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout the repository
        uses: actions/checkout@v3

      - name: Login to Kaggle
      - uses: osbm/kaggle-login@main
        with:
          KAGGLE_USERNAME: {{ secrets.KAGGLE_USERNAME }}
          KAGGLE_KEY: {{ secrets.KAGGLE_KEY }}

      - name: Use kaggle api to list datasets
        run: |
          kaggle datasets list