From a56c24eb68ba744061541d4da33875e7b224ac32 Mon Sep 17 00:00:00 2001 From: NyaMisty Date: Sun, 12 Nov 2023 02:37:50 +0800 Subject: [PATCH] Fix missing step in build CI --- .github/workflows/build-deb.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build-deb.yml b/.github/workflows/build-deb.yml index 25b8c10..c2c8f6d 100644 --- a/.github/workflows/build-deb.yml +++ b/.github/workflows/build-deb.yml @@ -6,6 +6,7 @@ on: # - 'v*' #branches: [ master ] + release: [published] jobs: build: @@ -32,12 +33,18 @@ jobs: - name: Prepare Theos uses: Randomblock1/theos-action@v1 + - name: Get tag + if: ${{ startsWith(github.ref, 'refs/tags/') }} + id: tag + uses: dawidd6/action-get-tag@v1 - name: Build Release package - Rootful Substrate + if: ${{ startsWith(github.ref, 'refs/tags/') }} run: | make clean TAGNAME=${{ steps.tag.outputs.tag }} make package FINALPACKAGE=1 PACKAGE_VERSION=${TAGNAME#v}+rootful - name: Build Release package - Rootless Substrate + if: ${{ startsWith(github.ref, 'refs/tags/') }} run: | make clean TAGNAME=${{ steps.tag.outputs.tag }}