From 0bece8ec15c01ff306330f0fff49251915b8b36a Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 26 Jun 2024 21:23:44 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20test=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-package.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-package.yaml b/.github/workflows/build-package.yaml index e3217859a..37c9bc8b1 100644 --- a/.github/workflows/build-package.yaml +++ b/.github/workflows/build-package.yaml @@ -1,6 +1,9 @@ name: Build and Release package on: - push: tags + push: + # Pattern matched against refs/tags + tags: + - "**" # Push events to every tag including hierarchical tags like v1.0/beta jobs: create_release: @@ -29,8 +32,11 @@ jobs: - name: Install dependencies run: sudo apt -y install rubygems && sudo gem install fpm && sudo apt install binutils + - name: Clear build directory + run: rm -rf ./build/ + - name: Build - run: make build-package + run: NIGHTLY=vmonitor make package include_packages="amd64.deb" - name: Debug run: ls -al ./build/dist/