From f9a0b4d00b851546f756a71bd65f4b72a37922fb Mon Sep 17 00:00:00 2001 From: Cristopfer Luis Viana da Silva Date: Mon, 5 Feb 2024 18:16:08 -0300 Subject: [PATCH] fix: test copy deb --- .github/workflows/release.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93fc20e..eaa8fed 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: push: tags: # this is a glob, not a regexp - - "[0-9]*" + - "*" jobs: source: runs-on: ubuntu-latest @@ -36,3 +36,14 @@ jobs: uses: cockpit-project/action-release@88d994da62d1451c7073e26748c18413fcdf46e9 with: filename: "cockpit-sensors.tar.xz" + + - name: Build Deb release + run: make deb + + - name: Upload binaries to release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: target/release/cockpit-sensors.deb + asset_name: cockpit-sensors.deb + tag: ${{ github.ref }}