Merge pull request #94 from nanos/node-16-depracation
Update some actions to use Node 20, now that Node 16 is deprecated
This commit is contained in:
commit
e4fca0d67e
1 changed files with 6 additions and 6 deletions
10
.github/workflows/get_context.yml
vendored
10
.github/workflows/get_context.yml
vendored
|
@ -12,17 +12,17 @@ jobs:
|
||||||
environment: mastodon
|
environment: mastodon
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout original repository
|
- name: Checkout original repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
cache: 'pip' # caching pip dependencies
|
cache: 'pip' # caching pip dependencies
|
||||||
- run: pip install -r requirements.txt
|
- run: pip install -r requirements.txt
|
||||||
- name: Download all workflow run artifacts
|
- name: Download all workflow run artifacts
|
||||||
uses: dawidd6/action-download-artifact@v2
|
uses: dawidd6/action-download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: artifacts
|
name: artifacts
|
||||||
workflow: get_context.yml
|
workflow: get_context.yml
|
||||||
|
@ -32,12 +32,12 @@ jobs:
|
||||||
run: ls -lR
|
run: ls -lR
|
||||||
- run: python find_posts.py --lock-hours=0 --access-token=${{ secrets.ACCESS_TOKEN }} -c="./config.json"
|
- run: python find_posts.py --lock-hours=0 --access-token=${{ secrets.ACCESS_TOKEN }} -c="./config.json"
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: artifacts
|
name: artifacts
|
||||||
path: |
|
path: |
|
||||||
artifacts
|
artifacts
|
||||||
- name: Checkout user's forked repository for keeping workflow alive
|
- name: Checkout user's forked repository for keeping workflow alive
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Keep workflow alive
|
- name: Keep workflow alive
|
||||||
uses: gautamkrishnar/keepalive-workflow@v1
|
uses: gautamkrishnar/keepalive-workflow@v1
|
Loading…
Reference in a new issue