File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -85,18 +85,25 @@ jobs:
8585 distribution : temurin
8686 java-version : ' 8'
8787
88- - run : |
89- shopt -s expand_aliases
90- alias dpkg-deb='dpkg-deb -Zgzip'
91- if: ${{ matrix.name == 'Linux' }}
92-
9388 - run : yarn install --immutable --immutable-cache --check-cache
9489
9590 - run : yarn gulp release ${{ matrix.releaseArgs }}
96- if : ${{ !inputs.debug_build && matrix.name != 'Android' }}
91+ if : ${{ !inputs.debug_build && contains(fromJson('["MacOS", "Windows"]'), matrix.name) }}
9792
9893 - run : yarn gulp debug-release ${{ matrix.releaseArgs }}
99- if : ${{ inputs.debug_build || matrix.name == 'Android' }}
94+ if : ${{ inputs.debug_build && contains(fromJson('["Android", "MacOS", "Windows"]'), matrix.name) }}
95+
96+ - run : |
97+ shopt -s expand_aliases
98+ alias dpkg-deb='dpkg-deb -Zgzip'
99+ yarn gulp release ${{ matrix.releaseArgs }}
100+ if: ${{ !inputs.debug_build && matrix.name == 'Linux' }}
101+
102+ - run : |
103+ shopt -s expand_aliases
104+ alias dpkg-deb='dpkg-deb -Zgzip'
105+ yarn gulp debug-release ${{ matrix.releaseArgs }}
106+ if: ${{ inputs.debug_build && matrix.name == 'Linux' }}
100107
101108 - name : Publish build artifacts
102109 uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments