From c91378fa653a49eeafec09bf346c7c211ac1a55e Mon Sep 17 00:00:00 2001 From: Alexande B Date: Tue, 2 Jan 2024 10:44:51 +0100 Subject: [PATCH] Use upload instead release + list of packed files --- .github/workflows/default.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index c1bf7d4..5053748 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -19,6 +19,12 @@ jobs: with: path: snap + - run: | + sudo apt update + sudo apt install -y squashfs-tools + unsquashfs -d extract ${{ steps.snapcraft.outputs.snap }} + ls -R extract + - uses: actions/upload-artifact@v3 with: name: latexml-snap @@ -66,7 +72,7 @@ jobs: run: | echo "${SNAPCRAFT_TOKEN}" > .snapcraft_token snapcraft login --with .snapcraft_token - snapcraft push --release=stable snap/*.snap + snapcraft upload --release=stable snap/*.snap release-edge: if: github.ref == 'refs/heads/master' @@ -87,7 +93,7 @@ jobs: run: | echo "${SNAPCRAFT_TOKEN}" > .snapcraft_token snapcraft login --with .snapcraft_token - snapcraft push --release=edge snap/*.snap + snapcraft upload --release=edge snap/*.snap release-candidate: if: startsWith(github.ref, 'refs/tags/v') && endsWith(github.ref, 'pre') @@ -108,4 +114,4 @@ jobs: run: | echo "${SNAPCRAFT_TOKEN}" > .snapcraft_token snapcraft login --with .snapcraft_token - snapcraft push --release=candidate snap/*.snap + snapcraft upload --release=candidate snap/*.snap