Merge pull request #248 from WardPearce/fix/update-setting-env-var
Added windows support
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user