From e03d814f87c020334d05daafa61e871948b77afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D0=BE=D1=80=D0=BB=D0=BE=D0=B2=20=D0=9C=D0=B0=D0=BA?= =?UTF-8?q?=D1=81=D0=B8=D0=BC?= Date: Thu, 25 Jul 2024 12:27:14 +0300 Subject: [PATCH] releasing --- .github/workflows/build.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cc8a892..29259b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,23 +40,21 @@ jobs: libjsoncpp-dev \ dpkg-dev \ debhelper - mkdir build && cd build - cmake -DCMAKE_BUILD_TYPE=Release .. - make - cpack -G DEB + mkdir .build + make release " - - name: Upload Debian package - id: upload_package - uses: actions/upload-artifact@v2 - with: - name: homed_exporter_${{ github.event.release.tag_name }}_${{ matrix.arch }}.deb - path: build/homed_exporter_${{ github.event.release.tag_name }}_${{ matrix.arch }}.deb + # - name: Upload Debian package + # id: upload_package + # uses: actions/upload-artifact@v2 + # with: + # name: homed_exporter_${{ github.event.release.tag_name }}_${{ matrix.arch }}.deb + # path: .build/release/homed_exporter_${{ github.event.release.tag_name }}_${{ matrix.arch }}.deb - name: Upload release asset uses: softprops/action-gh-release@v1 with: tag_name: ${{ github.event.release.tag_name }} - files: build/*.deb + files: .build/release/*.deb env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}