diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-04 20:26:57 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-04 20:26:57 +0100 |
commit | b10206f038c03348b3c89be52e24ed5917d965f0 (patch) | |
tree | 4d6ef92afc6f4c764ac4f10d478526285b93d336 | |
parent | debian: 2.0.3-4 (diff) | |
download | config-links-b10206f038c03348b3c89be52e24ed5917d965f0.tar.gz config-links-b10206f038c03348b3c89be52e24ed5917d965f0.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 |