From 799175c94e04d8d289980f79beaa042a503632fe Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 24 Jul 2025 00:57:32 +0200 Subject: [PATCH] git: Call snapcraft directly --- .github/workflows/build.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1688aabc1..6e151d4a3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1095,7 +1095,8 @@ jobs: steps: - name: ⬇️ Install setup dependencies run: | - sudo apt update && sudo apt install -y git curl ccache + sudo apt update && sudo apt install -y git curl snapd ccache + sudo snap install snapcraft --classic - name: 🧰 Checkout uses: actions/checkout@v4 @@ -1119,10 +1120,8 @@ jobs: max-size: 1G - name: 🛠️ Build - uses: snapcore/action-build@v1 - id: snapcraft - with: - snapcraft-args: --destructive-mode + run: | + sudo snapcraft --destructive-mode - name: 🗝️ Generate build provenance attestations uses: actions/attest-build-provenance@v2