From 1093b41d70f22e8589b09cf992129cb27a4b42be Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 4 Aug 2023 09:46:10 +0100 Subject: [PATCH] Update build_debian.yaml --- .github/workflows/build_debian.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_debian.yaml b/.github/workflows/build_debian.yaml index e75c545097..64a73bf515 100644 --- a/.github/workflows/build_debian.yaml +++ b/.github/workflows/build_debian.yaml @@ -17,27 +17,27 @@ jobs: - name: Prepare run: | - mkdir debian/DEBIAN - mv debian/* debian/DEBIAN/ - mkdir -p debian/usr/share/element-web/ + mkdir -p /tmp/element-web-debian/DEBIAN + cp -R debian/ /tmp/element-web-debian/DEBIAN/ + mkdir -p /tmp/element-web-debian/usr/share/element-web/ wget https://github.com/vector-im/element-web/releases/download/$VERSION/element-$VERSION.tar.gz - mv element-* debian/usr/share/element-web - mv debian/usr/share/element-web/config.sample.json debian/usr/share/element-web/config.json + mv element-* /tmp/element-web-debian/usr/share/element-web + mv debian/usr/share/element-web/config.sample.json /tmp/element-web-debian/usr/share/element-web/config.json env: VERSION: ${{ github.ref_name }} - name: Build deb package run: | VERSION=$(cat package.json | jq -r .version) - chmod -R u=rw,go=r debian/usr/share/element-web/ - dpkg-deb -Zxz --root-owner-group -VVersion=$VERSION --build debian element-web.deb + chmod -R u=rw,go=r /tmp/element-web-debian/usr/share/element-web/ + dpkg-deb -Zxz --root-owner-group -VVersion=$VERSION --build /tmp/element-web-debian element-web.deb # For now just upload the artifact to github - uses: actions/upload-artifact@v3 with: - name: element-io-archive-keyring - path: element-io-archive-keyring.deb + name: debs + path: "*.deb" retention-days: 14 #- name: Upload incoming deb