Skip to content

Commit

Permalink
fix(publish) :test
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienChampagnol committed Sep 25, 2024
1 parent eb94192 commit 2ccb60e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CICD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
- name: Package
run: |
dotnet tool install --global AzureSignTool --version 4.0.1
cat package.json
rm -rf node_modules package-lock.json
npm install
npm run package
npm run publish --version ${{ needs.semantic.outputs.version }} --files release/${{ needs.semantic.outputs.version }}/*
npm run release
shell: bash
env:
AZURE_KEY_VAULT_URI: ${{ secrets.AZURE_KEY_VAULT_URI }}
Expand Down
6 changes: 1 addition & 5 deletions electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
"artifactName": "${productName}_${platform}_${version}.${ext}",
"sign": "./customSign.js",
"signingHashAlgorithms": ["sha256"],
"target": [
{
"target": "zip"
}
],
"target": ["zip"],
"publish": ["github"]
},
"publish": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"build": "nuxi build --prerender",
"test": "vitest",
"package": "npm run build && electron-builder build --publish=never",
"publish": "electron-builder publish --files $npm_config_files",
"release": "npm run build && electron-builder",
"postinstall": "npm run install_back && npm run install_viewer"
},
"repository": {
Expand Down

0 comments on commit 2ccb60e

Please sign in to comment.