Skip to content

Commit

Permalink
Updated yaml file doc to use checkout@v3 (#436)
Browse files Browse the repository at this point in the history
Node 12 has been out of support since April 2022, as a result Github has started the deprecation process of Node 12 for GitHub Actions. More details below 
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

Verified the fix with a local action file with v3 version seems to fix the error in Git Actions
  • Loading branch information
clatonhendricks committed Oct 20, 2022
1 parent 530f857 commit e8068fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/hub/spaces-github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Push to hub
Expand Down Expand Up @@ -61,4 +61,4 @@ jobs:
uses: ActionsDesk/lfs-warning@v2.0
with:
filesizelimit: 10485760 # this is 10MB so we can sync to HF Spaces
```
```

0 comments on commit e8068fb

Please sign in to comment.