ci: revert action caching, gitea cache backend not configured
setup-node and actions/cache@v4 hang trying to talk to a missing cache server, adding 1-3min per step. Drop the cache: directives and explicit cache blocks. Keep the single pip-download call in build-dist-windows.sh which is independent of any cache backend.
This commit is contained in:
@@ -105,7 +105,6 @@ jobs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Build frontend
|
||||
run: npm ci && npm run build
|
||||
@@ -113,20 +112,6 @@ jobs:
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
cache: 'pip'
|
||||
cache-dependency-path: pyproject.toml
|
||||
|
||||
- name: Cache embedded Python
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: build/python-embed.zip
|
||||
key: python-embed-3.11.9
|
||||
|
||||
- name: Cache Windows wheels
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: build/win-wheels
|
||||
key: win-wheels-${{ hashFiles('build-dist-windows.sh', 'pyproject.toml') }}
|
||||
|
||||
- name: Install build tools
|
||||
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends nsis zip
|
||||
@@ -194,7 +179,6 @@ jobs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Build frontend
|
||||
run: npm ci && npm run build
|
||||
@@ -202,8 +186,6 @@ jobs:
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
cache: 'pip'
|
||||
cache-dependency-path: pyproject.toml
|
||||
|
||||
- name: Build Linux distribution
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user