From a3ec6767abbf6c0c0ff4075ecd8704d9c450c9aa Mon Sep 17 00:00:00 2001 From: Lukasz Gornicki Date: Tue, 9 Apr 2024 13:23:00 +0200 Subject: [PATCH] fix: trigger release of assets with fixed assets workflow (#1351) --- .github/workflows/upload-release-assets.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/upload-release-assets.yml b/.github/workflows/upload-release-assets.yml index 3b9139b3c71..509bd631aee 100644 --- a/.github/workflows/upload-release-assets.yml +++ b/.github/workflows/upload-release-assets.yml @@ -49,8 +49,6 @@ jobs: uses: actions/setup-node@v3 with: node-version: "${{ steps.lockversion.outputs.version }}" - cache: 'npm' - cache-dependency-path: '**/package-lock.json' - name: Get version from package.json uses: actions/github-script@v6 id: extractver @@ -59,8 +57,13 @@ jobs: const packageJson = require('./package.json'); const packageJsonVersion = packageJson.version; core.setOutput('version', packageJsonVersion); + - if: steps.lockversion.outputs.version == '18' && matrix.os == 'windows-latest' + #npm cli 10 is buggy because of some cache issue + name: Install npm cli 8 + shell: bash + run: npm install -g npm@8.19.4 - name: Install dependencies - run: npm install + run: npm ci - name: Build project run: npm run prepublishOnly - name: Assets generation