From 5a769efcb91d0ca81ca736e155dab87717fdbf91 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Thu, 13 Jun 2024 20:13:07 +0200 Subject: [PATCH] build: add flag to disable snaps --- .github/workflows/insider-linux.yml | 2 +- .github/workflows/stable-linux.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/insider-linux.yml b/.github/workflows/insider-linux.yml index 5d1df3b1b66..5f81a8a9b98 100644 --- a/.github/workflows/insider-linux.yml +++ b/.github/workflows/insider-linux.yml @@ -427,7 +427,7 @@ jobs: platform: - amd64 - arm64 - if: needs.check.outputs.SHOULD_DEPLOY == 'yes' + if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && secrets.DISABLE_SNAP != 'yes' steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/stable-linux.yml b/.github/workflows/stable-linux.yml index b7e0fab82f6..05e115dd379 100644 --- a/.github/workflows/stable-linux.yml +++ b/.github/workflows/stable-linux.yml @@ -423,7 +423,7 @@ jobs: platform: - amd64 - arm64 - if: needs.check.outputs.SHOULD_DEPLOY == 'yes' + if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && secrets.DISABLE_SNAP != 'yes' steps: - uses: actions/checkout@v3