Valentin Buchner commited on
Commit
4c60880
·
1 Parent(s): 61dd8b5

update github action

Browse files
.github/workflows/update-leaderboard.yaml CHANGED
@@ -9,11 +9,11 @@ jobs:
9
  update-markdown:
10
  runs-on: ubuntu-latest
11
  steps:
12
- - uses: actions/checkout@v3 # Updated to the latest version at the time of writing
13
  - name: Set up Python
14
- uses: actions/setup-python@v4
15
  with:
16
- python-version: '3.x'
17
  - name: Install dependencies
18
  run: |
19
  python -m pip install --upgrade pip
@@ -24,6 +24,6 @@ jobs:
24
  run: |
25
  git config --global user.email "[email protected]"
26
  git config --global user.name "GitHub Action"
27
- git add README.md
28
- git commit -m "Update README.md from JSON data" -a || echo "No changes to commit"
29
  git push
 
9
  update-markdown:
10
  runs-on: ubuntu-latest
11
  steps:
12
+ - uses: actions/checkout@v4 # Updated to the latest version at the time of writing
13
  - name: Set up Python
14
+ uses: actions/setup-python@v5
15
  with:
16
+ python-version: '3.10'
17
  - name: Install dependencies
18
  run: |
19
  python -m pip install --upgrade pip
 
24
  run: |
25
  git config --global user.email "[email protected]"
26
  git config --global user.name "GitHub Action"
27
+ git add leaderboard/Leaderboard.md
28
+ git commit -m "Update Leaderboard.md from JSON data" -a || echo "No changes to commit"
29
  git push