We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6919fd0 commit 94e1cffCopy full SHA for 94e1cff
.github/workflows/snap.yaml
@@ -0,0 +1,32 @@
1
+name: snap
2
+on:
3
+ schedule:
4
+ - cron: '0 0 1 * *'
5
+ push:
6
+ branches:
7
+ - main
8
+ pull_request:
9
10
11
+ workflow_dispatch:
12
+
13
+jobs:
14
+ build:
15
+ runs-on: ubuntu-latest
16
+ outputs:
17
+ snap-file: ${{ steps.build-snap.outputs.snap }}
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - uses: snapcore/action-build@v1
21
+ id: build-snap
22
23
+ # Make sure the snap is installable
24
+ - run: |
25
+ sudo snap install ${{ steps.build-snap.outputs.snap }} --dangerous
26
+ # Do some testing with the snap
27
28
+ snap info my-ros2-teleop-test
29
+ - uses: actions/upload-artifact@v3
30
+ with:
31
+ name: my-ros2-teleop-test
32
+ path: ${{ steps.build-snap.outputs.snap }}
0 commit comments