Update used GitHub actions (#3870)
This fixes the current build annotations caused by deprecated versions: Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
19f4509075
commit
054a7526d3
1 changed files with 5 additions and 5 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -8,13 +8,13 @@ jobs:
|
||||||
name: Build, Upload, Test
|
name: Build, Upload, Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
lfs: true
|
lfs: true
|
||||||
|
|
||||||
- name: Install Node
|
- name: Install Node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
#cache: npm
|
#cache: npm
|
||||||
|
@ -31,7 +31,7 @@ jobs:
|
||||||
|
|
||||||
- name: Cache xulrunner
|
- name: Cache xulrunner
|
||||||
id: xulrunner-cache
|
id: xulrunner-cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: app/xulrunner/firefox-x86_64
|
path: app/xulrunner/firefox-x86_64
|
||||||
key: xulrunner-${{ hashFiles('app/config.sh', 'app/scripts/fetch_xulrunner') }}
|
key: xulrunner-${{ hashFiles('app/config.sh', 'app/scripts/fetch_xulrunner') }}
|
||||||
|
@ -42,7 +42,7 @@ jobs:
|
||||||
|
|
||||||
- name: Cache Node modules
|
- name: Cache Node modules
|
||||||
id: node-cache
|
id: node-cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
key: node-modules-${{ hashFiles('package-lock.json') }}
|
key: node-modules-${{ hashFiles('package-lock.json') }}
|
||||||
|
@ -79,7 +79,7 @@ jobs:
|
||||||
|
|
||||||
- name: Cache utilities Node modules
|
- name: Cache utilities Node modules
|
||||||
id: utilities-node-cache
|
id: utilities-node-cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: chrome/content/zotero/xpcom/utilities/node_modules
|
path: chrome/content/zotero/xpcom/utilities/node_modules
|
||||||
key: utilities-node-modules-${{ hashFiles('chrome/content/zotero/xpcom/utilities/package-lock.json') }}
|
key: utilities-node-modules-${{ hashFiles('chrome/content/zotero/xpcom/utilities/package-lock.json') }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue