diff --git a/.github/workflows/lto.yml b/.github/workflows/lto.yml index 6b20d3942..754002973 100644 --- a/.github/workflows/lto.yml +++ b/.github/workflows/lto.yml @@ -1,5 +1,5 @@ name: PikaOS Upstream Package Build & Release (amd64-v3 + LTO) -run-name: Building ${{ github.sha }} + on: push: branches: diff --git a/.github/workflows/v3.yml b/.github/workflows/v3.yml index 0d821d185..d69ed77e0 100644 --- a/.github/workflows/v3.yml +++ b/.github/workflows/v3.yml @@ -1,5 +1,5 @@ name: PikaOS Upstream Package Build & Release (amd64-v3) -run-name: Building ${{ github.sha }} + on: push: branches: diff --git a/main.sh b/main.sh index 6dc936fed..1c0679ae3 100755 --- a/main.sh +++ b/main.sh @@ -21,10 +21,16 @@ fi # Get build deps #LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error" -apt-get build-dep ./ -y +# Get build deps +apt-get build-dep "$PIKA_PACKAGE_NAME=$VERSION" -y # Build package -dpkg-buildpackage --no-sign +for i in ./*.dsc +do + dpkg-source -x $i + cd $(dpkg-source -x $i | grep "dpkg-source: info: extracting $1 in" | cut -d":" -f3 | sed -s "s/extracting $1 in/ /g") + dpkg-buildpackage --no-sign +done # Move the debs to output cd ../