diff options
author | Arif Ali <arif.ali@canonical.com> | 2022-11-07 22:08:10 +0000 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2022-11-08 08:41:14 -0500 |
commit | 41a0fc700a4509cfe8735930d5602fb0cb4e2c63 (patch) | |
tree | 4e887d2cb917ea0a8a246969767a5f51c85c983e /.github | |
parent | d36465cfdf524a1625f62a680817ef72d18f6a3a (diff) | |
download | sos-41a0fc700a4509cfe8735930d5602fb0cb4e2c63.tar.gz |
[build] Require the sos alias
When installing via --danegerous, the aliases are not done
automatically, so create he sos alias, so that we can run
via "sos report"
Signed-off-by: Arif Ali <arif.ali@canonical.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/snap.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/snap.yaml b/.github/workflows/snap.yaml index 4c65046f..e6890835 100644 --- a/.github/workflows/snap.yaml +++ b/.github/workflows/snap.yaml @@ -20,9 +20,10 @@ jobs: - run: | sudo apt -y remove sosreport sudo snap install --classic --dangerous ${{ steps.build-snap.outputs.snap }} + sudo snap alias sosreport.sos sos # Do some testing with the snap - run: | - /snap/bin/sos help + sudo sos help - uses: snapcore/action-publish@v1 env: SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }} |