From d5bbd85047965a929f246894a292bce788c6e78c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 4 Feb 2023 21:21:56 +0100 Subject: workflows: prettify? --- .github/workflows/debian.yml | 4 ++-- .github/workflows/ppa.yml | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index 5b4f81c..762071c 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -15,9 +15,9 @@ jobs: with: fetch-depth: 0 - name: Install dependencies - run: cd debian && sudo make deps + run: sudo make -C debian deps - name: Build binary package - run: cd debian && make bin/test + run: make -C debian bin/test - name: Upload binary package uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/ppa.yml b/.github/workflows/ppa.yml index 0383422..921d626 100644 --- a/.github/workflows/ppa.yml +++ b/.github/workflows/ppa.yml @@ -20,13 +20,15 @@ jobs: gpg_private_key: '${{ secrets.GPG_PRIVATE_KEY }}' passphrase: '${{ secrets.GPG_PASSPHRASE }}' - name: Install dependencies - run: cd debian && sudo make deps + run: sudo make -C debian deps - name: Create cowbuilder image - run: cd debian && sudo make dist/create + run: sudo make -C debian dist/create - name: Build binary package - run: cd debian && make dist + run: make -C debian dist + - name: Clean the build area + run: make -C debian clean - name: Build source package - run: cd debian && make clean && make src + run: make -C debian src - name: Upload to PPA if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/debian/') - run: cd debian && make upload + run: make -C debian upload -- cgit v1.2.3