Skip to content

Commit

Permalink
fix: trigger release of assets with fixed assets workflow (asyncapi#1351
Browse files Browse the repository at this point in the history
)
  • Loading branch information
derberg authored Apr 9, 2024
1 parent 6e02229 commit a3ec676
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/upload-release-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a3ec676

Please sign in to comment.