ci: change snapcraft build instructions (error) (#469)

Drew Smirnoff created

Change summary

snapcraft.yaml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

Detailed changes

snapcraft.yaml 🔗

@@ -23,7 +23,7 @@ apps:
 
 parts:
   matcha:
-    plugin: go
+    plugin: nil
     source: .
     build-snaps:
       - go/1.26/stable
@@ -34,7 +34,10 @@ parts:
       - pkg-config
     build-environment:
       - CGO_ENABLED: "1"
+      - GOBIN: ""
     override-pull: |
       craftctl default
       version="$(git describe --tags --abbrev=0 2>/dev/null | sed 's/^v//' || echo 0.1)"
       craftctl set version="$version"
+    override-build: |
+      go build -o "${CRAFT_PART_INSTALL}/bin/matcha" .