From dc5c99e222690fa1f781c2165f69f760a3ea9d41 Mon Sep 17 00:00:00 2001 From: starkbamse <139136798+starkbamse@users.noreply.github.com> Date: Sun, 21 Jan 2024 18:16:13 +0100 Subject: [PATCH 1/5] Add installation of deb package --- .github/workflows/deploy.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index ad273d3..7942abc 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -100,6 +100,11 @@ jobs: arch: 'amd64' depends: 'libglib2.0-0, libatk1.0-0, libgtk-3-0' desc: 'Kaspa NG desktop p2p node and wallet' + - name: Install and Test Debian Package + if: runner.os == 'Linux' + run: | + sudo dpkg -i "${{ steps.package_debian.outputs.file_path }}" + kaspa-ng --version || echo "Failed to execute kaspa-ng --version" - name: Upload release asset uses: actions/upload-release-asset@v1 From f0696abc1970b053f0d71b131cb50c51d23d2831 Mon Sep 17 00:00:00 2001 From: starkbamse <139136798+starkbamse@users.noreply.github.com> Date: Sun, 21 Jan 2024 18:18:53 +0100 Subject: [PATCH 2/5] Add install and test to ci.yaml --- .github/workflows/ci.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 22f70b0..d049ae3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -325,7 +325,11 @@ jobs: arch: 'amd64' depends: 'libglib2.0-0, libatk1.0-0, libgtk-3-0' desc: 'Kaspa NG desktop p2p node and wallet' - + - name: Install and Test Debian Package + if: runner.os == 'Linux' + run: | + sudo dpkg -i "${{ steps.package_debian.outputs.file_path }}" + kaspa-ng --version || echo "Failed to execute kaspa-ng --version" # - name: Package Details # if: runner.os == 'Linux' # run: | From 820723704748c36aca341792105d38e786428337 Mon Sep 17 00:00:00 2001 From: starkbamse <139136798+starkbamse@users.noreply.github.com> Date: Sun, 21 Jan 2024 18:19:42 +0100 Subject: [PATCH 3/5] Remove whitespace --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d049ae3..07761f2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -325,7 +325,7 @@ jobs: arch: 'amd64' depends: 'libglib2.0-0, libatk1.0-0, libgtk-3-0' desc: 'Kaspa NG desktop p2p node and wallet' - - name: Install and Test Debian Package + - name: Install and Test Debian Package if: runner.os == 'Linux' run: | sudo dpkg -i "${{ steps.package_debian.outputs.file_path }}" From 00777d4cf9672802dd3a7ca50b380b769b4a8e43 Mon Sep 17 00:00:00 2001 From: starkbamse <139136798+starkbamse@users.noreply.github.com> Date: Sun, 21 Jan 2024 18:50:46 +0100 Subject: [PATCH 4/5] Try with file name instead of path --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 07761f2..0a4012e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -328,7 +328,7 @@ jobs: - name: Install and Test Debian Package if: runner.os == 'Linux' run: | - sudo dpkg -i "${{ steps.package_debian.outputs.file_path }}" + sudo dpkg -i "${{ steps.package_debian.outputs.file_name }}" kaspa-ng --version || echo "Failed to execute kaspa-ng --version" # - name: Package Details # if: runner.os == 'Linux' From 403968edaaea485cc92c54c9de3e0f451198e9a6 Mon Sep 17 00:00:00 2001 From: starkbamse <139136798+starkbamse@users.noreply.github.com> Date: Sun, 21 Jan 2024 21:13:10 +0100 Subject: [PATCH 5/5] Replace --version with --help --- .github/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 7942abc..41d112b 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -104,7 +104,7 @@ jobs: if: runner.os == 'Linux' run: | sudo dpkg -i "${{ steps.package_debian.outputs.file_path }}" - kaspa-ng --version || echo "Failed to execute kaspa-ng --version" + kaspa-ng --help || echo "Failed to execute kaspa-ng --help" - name: Upload release asset uses: actions/upload-release-asset@v1