We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70f9cf7 commit 096d54aCopy full SHA for 096d54a
1 file changed
.github/workflows/snap.yaml
@@ -33,3 +33,18 @@ jobs:
33
with:
34
name: micro-ros-agent-snap
35
path: ${{ steps.build-snap.outputs.snap }}
36
+
37
+ publish:
38
+ if: github.ref == 'refs/heads/foxy' || startsWith(github.ref, 'refs/tags/')
39
+ runs-on: ubuntu-latest
40
+ needs: build
41
+ steps:
42
+ - uses: actions/download-artifact@v3
43
+ with:
44
+ name: micro-ros-agent-snap
45
+ path: .
46
+ - uses: snapcore/action-publish@v1
47
48
+ store_login: ${{ secrets.STORE_LOGIN }}
49
+ snap: ${{needs.build.outputs.snap-file}}
50
+ release: ${{ startsWith(github.ref, 'refs/tags/') && 'candidate' || 'edge'}}
0 commit comments