Added windows support

This commit is contained in:
WardPearce
2024-05-06 19:26:49 +12:00
parent 311e71eb48
commit 6af50839a0
+8 -1
View File
@@ -57,7 +57,14 @@ jobs:
run: cd ./materialious && npx cap sync @capacitor-community/electron
- name: Set up environment variables
run: echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
run: echo "GH_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
shell: bash
if: runner.os != 'Windows'
- name: Set up environment variables
run: set "GH_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> %GITHUB_ENV%
shell: cmd
if: runner.os == 'Windows'
- name: Build desktop packages
run: cd ./materialious/electron && npm run electron:make