From 401c3648e4ec96435b1dffe4aa2f3d25147cebac Mon Sep 17 00:00:00 2001 From: Mikita Iwanowski Date: Fri, 26 Jan 2024 19:52:29 +0100 Subject: [PATCH] fix: snapcraft at it again, attempt to workaround parallelism issue --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 540254f..8f6c169 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,8 +16,14 @@ jobs: uses: actions/setup-go@v4 with: go-version: '1.20' + - name: Install Snapcraft uses: samuelmeuli/action-snapcraft@v2 + - name: Spancraft parallelism hack + run: | + mkdir -p /home/runner/.cache/snapcraft/download + mkdir -p /home/runner/.cache/snapcraft/stage-packages + - name: Install upx run: sudo apt install upx -y - name: Run GoReleaser