From 1339eb494e2222346162f103518eb99af5c33745 Mon Sep 17 00:00:00 2001 From: Dongxu Li Date: Sun, 14 Apr 2024 17:09:58 -0400 Subject: [PATCH] CI: snap support --- .github/workflows/main.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e6ca6ad6..158ff912 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,9 +22,12 @@ jobs: - run: sudo ${{ github.workspace }}/scripts/ubuntu-install/createAppImage.sh + - name: Install Snapcraft + uses: samuelmeuli/action-snapcraft@v2 + - run: cd ${{ github.workspace }} - #- run: ${{ github.workspace }}/scripts/ubuntu-install/createSnap.sh + - run: ${{ github.workspace }}/scripts/ubuntu-install/createSnap.sh - name: Uploading AppImage uses: actions/upload-artifact@v3 @@ -33,12 +36,12 @@ jobs: path: ${{ github.workspace }}/build/LibreCAD**AppImage retention-days: 2 -# - name: Uploading snap -# uses: actions/upload-artifact@v3 -# with: -# path: ${{ github.workspace }}/librecad**snap -# name: LibreCAD3.snap -# retention-days: 2 + - name: Uploading snap + uses: actions/upload-artifact@v3 + with: + path: ${{ github.workspace }}/librecad**snap + name: LibreCAD3.snap + retention-days: 2 windows: name: BuildWindows