File tree Expand file tree Collapse file tree 1 file changed +0
-47
lines changed Expand file tree Collapse file tree 1 file changed +0
-47
lines changed Original file line number Diff line number Diff line change @@ -26,53 +26,6 @@ permissions:
2626 packages : write
2727
2828jobs :
29- build-desktop-windows :
30- runs-on : windows-latest
31- strategy :
32- matrix :
33- type : [public, ystv]
34-
35- steps :
36- - uses : actions/checkout@v4
37- with :
38- ref : ${{ inputs.ref }}
39- - name : Use Node.js 18.x
40- uses : actions/setup-node@v4
41- with :
42- node-version : 18.x
43- cache : " yarn"
44- cache-dependency-path : " yarn.lock"
45-
46- - run : yarn install --immutable
47-
48- - name : Set version
49- shell : pwsh
50- run : |
51- $pkg = Get-Content ./desktop/package.json | ConvertFrom-Json
52- $pkg.version = "${{inputs.tag }}" -replace "^v", ""
53- if ("${{ inputs.strip_rc }}" -eq "true") {
54- $pkg.version = $pkg.version -replace "-rc.*", ""
55- }
56- $pkg | ConvertTo-Json -Depth 32 | Set-Content ./desktop/package.json
57-
58- - run : " yarn package --win --publish never"
59- working-directory : ./desktop
60- env :
61- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62- DESKTOP_SENTRY_DSN : ${{ secrets.DESKTOP_SENTRY_DSN }}
63- SENTRY_AUTH_TOKEN : ${{ secrets.SENTRY_AUTH_TOKEN }}
64- ENVIRONMENT : prod
65- IS_YSTV_BUILD : ${{ matrix.type == 'ystv' && 'true' || 'false' }}
66-
67- - name : Clean up
68- run : Remove-Item -Recurse -Force ./desktop/dist/win-unpacked
69- shell : pwsh
70-
71- - uses : actions/upload-artifact@v4
72- with :
73- path : ./desktop/dist
74- name : badger-desktop-windows${{ matrix.type == 'ystv' && '-ystv' || '' }}
75-
7629 build-docker-server :
7730 runs-on : ubuntu-latest
7831 if : ${{ inputs.push_docker == true }}
You can’t perform that action at this time.
0 commit comments