fix: disable building snaps on release

the snap infra should already be able to deal with it, i think

Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
This commit is contained in:
DioEgizio 2022-11-09 19:52:00 +01:00
parent 074b53eb6b
commit 07392d493c

View File

@ -510,10 +510,10 @@ jobs:
echo "VERSION=$ver_short" >> $GITHUB_ENV echo "VERSION=$ver_short" >> $GITHUB_ENV
- name: Package Snap (Linux) - name: Package Snap (Linux)
id: snapcraft id: snapcraft
if: runner.os == 'Linux' && matrix.qt_ver != 5 if: runner.os == 'Linux' && inputs.build_type == 'Debug'
uses: snapcore/action-build@v1 uses: snapcore/action-build@v1
- name: Upload Snap (Linux) - name: Upload Snap (Linux)
if: runner.os == 'Linux' && matrix.qt_ver != 5 if: runner.os == 'Linux' && inputs.build_type == 'Debug'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: prismlauncher_${{ env.VERSION }}_amd64.snap name: prismlauncher_${{ env.VERSION }}_amd64.snap