Merge pull request #248 from WardPearce/fix/update-setting-env-var

Added windows support
This commit is contained in:
Ward
2024-05-06 19:27:12 +12:00
committed by GitHub
+8 -1
View File
@@ -60,7 +60,14 @@ jobs:
run: cd ./materialious/electron && npm install
- 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