temprorary remove the windows signing #6
Workflow file for this run
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
name: Desktop Windows Sign & Release On Windows Machine | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'karolsojko/sta-2151-windows-desktop-signing' | |
jobs: | |
Windows: | |
runs-on: windows-latest | |
env: | |
WINDOWS_TOKEN_ALIAS: ${{ secrets.WINDOWS_TOKEN_ALIAS }} | |
WINDOWS_TOKEN_PASSWORD: ${{ secrets.WINDOWS_TOKEN_PASSWORD }} | |
defaults: | |
run: | |
working-directory: packages/desktop | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
registry-url: 'https://registry.npmjs.org' | |
node-version-file: '.nvmrc' | |
cache: 'yarn' | |
- run: yarn install --immutable | |
- run: yarn build:desktop | |
- run: yarn run webpack --config desktop.webpack.prod.js | |
- run: yarn run electron-builder --windows --x64 --ia32 --publish=never --c.extraMetadata.version=$(node -p "require('./../web/package.json').version") | |
- name: Upload | |
uses: actions/[email protected] | |
with: | |
name: assets | |
path: | | |
packages/desktop/dist/*.blockmap | |
packages/desktop/dist/*.exe | |
packages/desktop/dist/*.yml | |
packages/desktop/dist/*.yaml |