Skip to content

Commit 6d623b7

Browse files
authored
CI: add Snap build to test.yml (#216)
1 parent 2e925ea commit 6d623b7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,17 @@ jobs:
5353
run: |
5454
python3 -m pip install .
5555
tldr --version
56+
57+
build-snap:
58+
runs-on: ubuntu-latest
59+
60+
steps:
61+
- uses: actions/checkout@v3
62+
- uses: snapcore/action-build@v1
63+
id: snapcraft-build
64+
with:
65+
snapcraft-args: "-v"
66+
- uses: actions/upload-artifact@v3
67+
with:
68+
name: ${{ steps.snapcraft-build.outputs.snap }}
69+
path: ${{ steps.snapcraft-build.outputs.snap }}

0 commit comments

Comments
 (0)