GH CD: attempt to preserve content of build/source by swapping checkout and artifact download steps.
--- a/.github/workflows/build_snap.yml Sat Aug 13 16:30:38 2022 +0200
+++ b/.github/workflows/build_snap.yml Sat Aug 13 17:00:47 2022 +0200
@@ -14,17 +14,17 @@
runs-on: ubuntu-latest
steps:
- - name: Download source artifact
- uses: actions/download-artifact@v3
- with:
- name: source_package
-
- uses: actions/checkout@v3
with:
# checkout directly in build/sources so that
# sources dirs are aside snap dir
path: build/sources
+ - name: Download source artifact
+ uses: actions/download-artifact@v3
+ with:
+ name: source_package
+
- name: Invoke snapcraft build
uses: snapcore/action-build@v1
id: snapcraft