Skip to content

Commit

Permalink
fix: desktop builds broken
Browse files Browse the repository at this point in the history
  • Loading branch information
blakebyrnes committed Feb 3, 2024
1 parent 60941aa commit a4e24b6
Show file tree
Hide file tree
Showing 13 changed files with 64 additions and 1,650 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ jobs:
- name: Check out Git repository
uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'

- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
node-version: 20

- name: Chocolatey Install Action
if: ${{ matrix.os == 'windows-latest' }}
Expand All @@ -36,6 +35,9 @@ jobs:
if: matrix.os == 'windows-latest'
uses: microsoft/setup-msbuild@v2

- name: Set timeout
run: yarn config set network-timeout 1000000 -g

- name: Yarn build
run: yarn && yarn build && yarn build:dist && cd build-dist && yarn

Expand All @@ -45,12 +47,20 @@ jobs:
env:
APPLE_NOTARIZE_KEY: ${{secrets.APPLE_NOTARIZE_KEY}}

- name: Configure Electron Cache
if: matrix.os == 'windows-latest'
run: |
echo "electron_config_cache=${{ runner.temp }}/electron_cache" >> $GITHUB_ENV
echo "ELECTRON_BUILDER_CACHE=${{ runner.temp }}/electron_builder_cache" >> $GITHUB_ENV
working-directory: ./desktop/main

- name: Build Desktop
run: yarn build && yarn dist
working-directory: ./desktop/main
env:
NODE_ENV: production
USE_HARD_LINKS: false
force_no_cache: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CSC_LINK: ${{ matrix.os == 'windows-latest' && secrets.WIN_CSC_LINK || secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ matrix.os == 'windows-latest' && secrets.WIN_CSC_KEY_PASSWORD || secrets.CSC_KEY_PASSWORD }}
Expand Down
3 changes: 0 additions & 3 deletions datastore/docpage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@
"eslint-plugin-vue": "^8.5.0",
"hastscript": "^7.0.2",
"js-yaml": "^4.1.0",
"lint-staged": "^13.2.2",
"lodash.kebabcase": "^4.1.1",
"moment": "^2.29.4",
"onchange": "^7.1.0",
"param-case": "^3.0.4",
"postcss": "^8.4.7",
"prismjs": "^1.28.0",
"rehype-autolink-headings": "^6.1.1",
"rehype-slug": "^5.0.1",
Expand All @@ -42,7 +40,6 @@
"remark-parse": "^10.0.1",
"remark-rehype": "^10.1.0",
"sass": "^1.56.1",
"sass-loader": "^10.2.1",
"tailwindcss": "^3.0.24",
"unified": "^10.1.2",
"unified-stream": "^2.0.0",
Expand Down
224 changes: 0 additions & 224 deletions desktop/..build/desktop/main/app/ui/content.js

This file was deleted.

Loading

0 comments on commit a4e24b6

Please sign in to comment.