updated yml config
This commit is contained in:
parent
c6b0bbc794
commit
837b66aad7
12
.github/workflows/electron-dev.yml
vendored
12
.github/workflows/electron-dev.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Sandbox Clinic Desktop for Dev
|
name: Sandbox Clinic Desktop For Dev
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
@ -29,16 +29,10 @@ jobs:
|
|||||||
- name: Publish
|
- name: Publish
|
||||||
run: |
|
run: |
|
||||||
yarn run dist
|
yarn run dist
|
||||||
- name: Cleanup artifacts Linux and macOS For Dev
|
- name: Cleanup artifacts Windows, Linux and macOS
|
||||||
if: matrix.os != 'windows-latest'
|
|
||||||
run: |
|
run: |
|
||||||
mkdir artifacts
|
mkdir artifacts
|
||||||
cp -R "dist/dev/(*.exe,*.deb,*.AppImage,*.dmg)" artifacts || true
|
mv dist/dev/{*.deb,*.exe,*.dmg,*.AppImage} artifacts
|
||||||
- name: Cleanup artifacts Windowns for Dev
|
|
||||||
if: matrix.os == 'windows-latest'
|
|
||||||
run: |
|
|
||||||
mkdir artifacts
|
|
||||||
cp -R dist/dev/*.exe artifacts
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
16
.github/workflows/electron-sandbox.yml
vendored
16
.github/workflows/electron-sandbox.yml
vendored
@ -29,16 +29,16 @@ jobs:
|
|||||||
- name: Publish
|
- name: Publish
|
||||||
run: |
|
run: |
|
||||||
yarn run sandbox
|
yarn run sandbox
|
||||||
- name: Cleanup artifacts Linux and macOS
|
- name: Cleanup artifacts Windows, Linux and macOS
|
||||||
if: matrix.os != 'windows-latest'
|
# if: matrix.os != 'windows-latest'
|
||||||
run: |
|
run: |
|
||||||
mkdir artifacts
|
mkdir artifacts
|
||||||
mv -r dist/sandbox/*.deb artifacts || true
|
mv dist/sandbox/{*.deb,*.exe,*.dmg,*.AppImage} artifacts
|
||||||
- name: Cleanup artifacts Windowns
|
# - name: Cleanup artifacts Windowns
|
||||||
if: matrix.os == 'windows-latest'
|
# if: matrix.os == 'windows-latest'
|
||||||
run: |
|
# run: |
|
||||||
mkdir artifacts
|
# mkdir artifacts
|
||||||
mv -r dist/sandbox/*.exe artifacts
|
# mv dist/sandbox/*.exe artifacts
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user