GH CD: Merge sources and snap dir instead of just giving checkout and artfifact download the same path
--- a/.github/workflows/build_snap.yml Sat Aug 13 17:01:48 2022 +0200
+++ b/.github/workflows/build_snap.yml Sat Aug 13 17:26:17 2022 +0200
@@ -18,13 +18,18 @@
with:
# checkout directly in build/sources so that
# sources dirs are aside snap dir
- path: build/sources
+ path: beremiz_public_dist
- name: Download source artifact
uses: actions/download-artifact@v3
with:
name: source_package
+ - name: Move snap dir in build/sources
+ run: |
+ mv beremiz_public_dist/snap build/sources
+ ls build/sources
+
- name: Invoke snapcraft build
uses: snapcore/action-build@v1
id: snapcraft