From 64a10e8e1382aae8acfd92a7dcae4ecb14de01a4 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Mon, 28 Dec 2020 18:40:11 +0100 Subject: [PATCH 1/2] Rename steps --- .github/workflows/snap.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml index bba78f1338d..80da7b04b48 100644 --- a/.github/workflows/snap.yml +++ b/.github/workflows/snap.yml @@ -28,12 +28,12 @@ jobs: uses: actions/checkout@v2 # The image relies on https://builds.jabref.org/master/JabRef-5.0-portable_linux.tar.gz^ # See snap/snapcraft.yml for details - - name: Build snap (1) Run build + - name: Run snapcraft build uses: snapcore/action-build@v1 id: snapcraft with: snapcraft-args: "--debug" - - name: Build snap (2) Upload snap + - name: Upload snap if: ${{ steps.checksecrets.outputs.secretspresent }} uses: snapcore/action-publish@v1 with: From eeea8ce0b338a790fa1637698e5129bfff0d14f9 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Mon, 28 Dec 2020 18:40:23 +0100 Subject: [PATCH 2/2] Allow manual snapcraft trigger --- .github/workflows/snap.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml index 80da7b04b48..c190256444f 100644 --- a/.github/workflows/snap.yml +++ b/.github/workflows/snap.yml @@ -1,6 +1,7 @@ name: Snap on: + workflow_dispatch: push: branches: - snapcraft