aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorArif Ali <arif.ali@canonical.com>2022-11-07 14:46:50 +0000
committerJake Hunsaker <jhunsake@redhat.com>2022-11-07 15:44:36 -0500
commitd36465cfdf524a1625f62a680817ef72d18f6a3a (patch)
tree2a38b7e38a69c84f69b0fcacb12f746df2856291 /.github
parent9a0001b6f637605360608bcd088a4f65c2aabe83 (diff)
downloadsos-d36465cfdf524a1625f62a680817ef72d18f6a3a.tar.gz
[build] use full path for snap check
The environment for the build doesn't seem to be refreshing between runs, and hence sos from the snab binary location is not working. Having the full path ensures that this doesn't fail Signed-off-by: Arif Ali <arif.ali@canonical.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/snap.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/snap.yaml b/.github/workflows/snap.yaml
index 3415be95..4c65046f 100644
--- a/.github/workflows/snap.yaml
+++ b/.github/workflows/snap.yaml
@@ -22,7 +22,7 @@ jobs:
sudo snap install --classic --dangerous ${{ steps.build-snap.outputs.snap }}
# Do some testing with the snap
- run: |
- sos help
+ /snap/bin/sos help
- uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}