Skip to content

Commit 7e71814

Browse files
authored
Update kaggle-dataset.yml
1 parent 187aeda commit 7e71814

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/kaggle-dataset.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Checkout Repository
1515
uses: actions/checkout@v3
1616

17-
- name: Install Kaggle CLI
17+
- name: Install Dependencies
1818
run: pip install kaggle
1919

2020
- name: Set Up Kaggle API Credentials
@@ -26,8 +26,14 @@ jobs:
2626
- name: Verify Kaggle Authentication
2727
run: kaggle datasets list # Should return dataset lists if authentication is successful
2828

29+
- name: Create Dataset Directory
30+
run: mkdir -p dataset
31+
2932
- name: Download Dataset from Kaggle Competition
30-
run: kaggle competitions download -c ieee-fraud-detection --unzip -p dataset/
33+
run: kaggle competitions download -c ieee-fraud-detection -p dataset/
34+
35+
- name: Extract Dataset
36+
run: unzip -o "dataset/*.zip" -d dataset/ && rm dataset/*.zip
3137

3238
- name: Commit and Push Dataset to GitHub
3339
run: |

0 commit comments

Comments
 (0)