From 0f776a8b12d82f6907e7e9a0ef8c15ad7143e1f3 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Mon, 9 Nov 2020 12:13:51 +0100 Subject: [PATCH] Enhancing ci builds --- .github/workflows/packaging_test.yml | 11 ++++------- .github/workflows/release.yml | 10 +++++++--- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/packaging_test.yml b/.github/workflows/packaging_test.yml index f95cc2b..f844a58 100644 --- a/.github/workflows/packaging_test.yml +++ b/.github/workflows/packaging_test.yml @@ -22,17 +22,14 @@ jobs: DEBIAN_FRONTEND: "noninteractive" - name: Remove github artefacts run: | - rm -rf .github/ + rm -rf .git* - name: Adjust distibution in changelog file run: | sed -i '0,/restricted/s//stable/' debian/changelog - name: Build Debian package uses: dawidd6/action-debian-package@v1 -# uses: pi-top/action-debian-package@v4 with: -# source_directory: "${SOURCE_DIR}" -# artifacts_directory: "${ARTIFACTS_DIR}" artifacts_directory: debian/build/release/ -# target_architectures: "amd64,i386" -# distribution: 'stable' -# os: 'debian' + - name: Debug + run: | + ls -la diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e1a5be8..49663cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,15 +48,19 @@ jobs: DEBIAN_FRONTEND: "noninteractive" - name: Remove github artefacts run: | - rm -rf .github/ + rm -rf .git* - name: Adjust distibution in changelog file run: | sed -i '0,/restricted/s//stable/' debian/changelog - name: Build Debian package - uses: pi-top/action-debian-package@v4 + uses: dawidd6/action-debian-package@v1 with: artifacts_directory: debian/build/release/ - target_architectures: "amd64,i386" +# - name: Build Debian package +# uses: pi-top/action-debian-package@v0.2.0 +# with: +# artifacts_directory: debian/build/release/ +# target_architectures: "amd64,i386" - name: Upload the artifacts uses: skx/github-action-publish-binaries@master env: