Skip to content

Commit

Permalink
New versions for different actions (#173)
Browse files Browse the repository at this point in the history
* new versions for different actions

* run on pr: dataset metadata update
  • Loading branch information
trangdata authored Feb 20, 2023
1 parent f5dd6e7 commit 571d1be
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/dataset-update.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,29 @@
name: Update new dataset metadata

on:
push:
branches-ignore:
- master
- gh-pages
pull_request

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Create LFS file list
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
- name: Restore LFS cache
uses: actions/cache@v2
uses: actions/cache@v3
id: lfs-cache
with:
path: .git/lfs
key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }}-v1
- name: Git LFS Pull
run: git lfs pull
- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.9'
- name: Install dependencies
run: |
pip install ".[dev]"
Expand Down

0 comments on commit 571d1be

Please sign in to comment.