From af04c13a0ba44f8194074129f247ba45d2ff6ee5 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Fri, 23 Aug 2024 21:04:00 +0200 Subject: [PATCH] Revert "Simplify even more deb package CI/CD" This reverts commit c11bc270f8c6141483b6dc24ab5750919a06b02d. --- .github/workflows/package.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 68311af4..036150a2 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -32,6 +32,19 @@ jobs: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4 + # Determine which PPA we should upload to + - name: PPA + id: ppa + run: | + if [[ $REF == refs/tags* ]] + then + echo "::set-output name=ppa::kiwixteam/release" + else + echo "::set-output name=ppa::kiwixteam/dev" + fi + env: + REF: ${{ github.ref }} + - uses: legoktm/gh-action-auto-dch@2b7d6a33db93a408d4b5e2edf38be7fd578b11d7 # pin@main with: fullname: Kiwix builder