diff --git a/.gitea/workflows/linux.yaml b/.gitea/workflows/linux.yaml index c05a5aa..a345b1c 100644 --- a/.gitea/workflows/linux.yaml +++ b/.gitea/workflows/linux.yaml @@ -20,34 +20,8 @@ jobs: uses: actions/setup-node@v6 with: node-version: '22' - - # Кэш npm (тарифы грузятся из ~/.npm-cache на macOS) - - name: Cache npm cache - uses: actions/cache@v5 - with: - path: ${{ env.HOME }}/.npm-cache - key: ${{ runner.os }}-npm-linux-${{ hashFiles('**/package.json') }} - restore-keys: | - ${{ runner.os }}-npm-linux- - if-no-files-found: ignore - # Кэш для electron-builder - - name: Cache electron-builder - uses: actions/cache@v5 - with: - path: | - ${{ env.HOME }}/Library/Caches/electron-builder - ${{ env.HOME }}/Library/Caches/electron - key: ${{ runner.os }}-electron-linux-builder-${{ hashFiles('**/electron-builder.yml') }} - restore-keys: | - ${{ runner.os }}-electron-linux-builder- - if-no-files-found: ignore - - name: NPM offline setup - shell: bash - run: | - npm config set cache "$HOME/.npm-cache" --global - npm config set prefer-offline true --global - name: Install npm dependencies - run: npm install --prefer-offline --no-audit --no-fund + run: npm install --no-audit --no-fund - name: Build the application run: npm run kernel:linux #Загружаем на удаленный сервер по SSH используя scp и пароль из секретов