fix(ci): sostituisce gitea.com/actions/cache con github.com in tutti i workflow
gitea.com/actions/cache@v4 restituisce HTTP 500 in modo intermittente. github.com/actions/cache@v4 già usato dal runner per altri step (setup-java, ecc.).
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
|||||||
node-version: ${{ inputs.node-version || '22.17' }}
|
node-version: ${{ inputs.node-version || '22.17' }}
|
||||||
|
|
||||||
- name: Cache npm
|
- name: Cache npm
|
||||||
uses: https://gitea.com/actions/cache@v4
|
uses: https://github.com/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ jobs:
|
|||||||
node-version: ${{ inputs.node-version || '22.17' }}
|
node-version: ${{ inputs.node-version || '22.17' }}
|
||||||
|
|
||||||
- name: Cache npm
|
- name: Cache npm
|
||||||
uses: https://gitea.com/actions/cache@v4
|
uses: https://github.com/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
run: npm install -g npm@${{ inputs.npm-version }}
|
run: npm install -g npm@${{ inputs.npm-version }}
|
||||||
|
|
||||||
- name: Cache npm
|
- name: Cache npm
|
||||||
uses: https://gitea.com/actions/cache@v4
|
uses: https://github.com/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ jobs:
|
|||||||
node-version: ${{ inputs.node-version || '22.17' }}
|
node-version: ${{ inputs.node-version || '22.17' }}
|
||||||
|
|
||||||
- name: Cache npm
|
- name: Cache npm
|
||||||
uses: https://gitea.com/actions/cache@v4
|
uses: https://github.com/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
python-version: ${{ inputs.python-version || '3.11' }}
|
python-version: ${{ inputs.python-version || '3.11' }}
|
||||||
|
|
||||||
- name: Cache pip
|
- name: Cache pip
|
||||||
uses: https://gitea.com/actions/cache@v4
|
uses: https://github.com/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ inputs.python-version }}-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}
|
key: ${{ runner.os }}-pip-${{ inputs.python-version }}-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
python-version: ${{ inputs.python-version || '3.11' }}
|
python-version: ${{ inputs.python-version || '3.11' }}
|
||||||
|
|
||||||
- name: Cache pip
|
- name: Cache pip
|
||||||
uses: https://gitea.com/actions/cache@v4
|
uses: https://github.com/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ inputs.python-version }}-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}
|
key: ${{ runner.os }}-pip-${{ inputs.python-version }}-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
python-version: ${{ inputs.python-version || '3.11' }}
|
python-version: ${{ inputs.python-version || '3.11' }}
|
||||||
|
|
||||||
- name: Cache pip
|
- name: Cache pip
|
||||||
uses: https://gitea.com/actions/cache@v4
|
uses: https://github.com/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ inputs.python-version }}-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}
|
key: ${{ runner.os }}-pip-${{ inputs.python-version }}-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ jobs:
|
|||||||
python-version: ${{ inputs.python-version || '3.11' }}
|
python-version: ${{ inputs.python-version || '3.11' }}
|
||||||
|
|
||||||
- name: Cache pip
|
- name: Cache pip
|
||||||
uses: https://gitea.com/actions/cache@v4
|
uses: https://github.com/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ inputs.python-version }}-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}
|
key: ${{ runner.os }}-pip-${{ inputs.python-version }}-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
run: npm install -g npm@${{ inputs.npm-version }}
|
run: npm install -g npm@${{ inputs.npm-version }}
|
||||||
|
|
||||||
- name: Cache npm
|
- name: Cache npm
|
||||||
uses: https://gitea.com/actions/cache@v4
|
uses: https://github.com/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user