-
-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: trigger release of assets with fixed assets workflow
- Loading branch information
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected] | ||
- name: Install dependencies | ||
run: npm install | ||
run: npm ci | ||
- name: Build project | ||
run: npm run prepublishOnly | ||
- name: Assets generation | ||
|