diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-04 21:21:56 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-04 21:39:30 +0100 |
commit | d5bbd85047965a929f246894a292bce788c6e78c (patch) | |
tree | 410a6836c3aebf373aa17cd66f0b4b7b8a5615a6 | |
parent | workflows/ppa: do it for commits also (diff) | |
download | linux-status-d5bbd85047965a929f246894a292bce788c6e78c.tar.gz linux-status-d5bbd85047965a929f246894a292bce788c6e78c.zip |
workflows: prettify?
-rw-r--r-- | .github/workflows/debian.yml | 4 | ||||
-rw-r--r-- | .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 |