From 001c26e6d2c673fc93ca15e211366b2be6ee2885 Mon Sep 17 00:00:00 2001 From: NyaMisty Date: Fri, 10 Nov 2023 18:18:44 +0800 Subject: [PATCH] Support building for rootless --- .github/workflows/build-deb.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-deb.yml b/.github/workflows/build-deb.yml index ea27bb1..25b8c10 100644 --- a/.github/workflows/build-deb.yml +++ b/.github/workflows/build-deb.yml @@ -32,10 +32,16 @@ jobs: - name: Prepare Theos uses: Randomblock1/theos-action@v1 - - name: Build package + - name: Build Release package - Rootful Substrate run: | - rm -f packages/* - make package FINALPACKAGE=1 + make clean + TAGNAME=${{ steps.tag.outputs.tag }} + make package FINALPACKAGE=1 PACKAGE_VERSION=${TAGNAME#v}+rootful + - name: Build Release package - Rootless Substrate + run: | + make clean + TAGNAME=${{ steps.tag.outputs.tag }} + make package ROOTLESS=1 FINALPACKAGE=1 PACKAGE_VERSION=${TAGNAME#v}+rootless - name: Upload to GitHub Actions artifact uses: NyaMisty/upload-artifact-as-is@master