From 62db90c326a89ab60461906d8a323981a429b4a9 Mon Sep 17 00:00:00 2001 From: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> Date: Thu, 3 Dec 2026 07:02:25 -0500 Subject: [PATCH] Build the rc7 runtime candidate without publication credentials --- .github/workflows/build-ubuntu-runtime.yml | 46 +--------------------- 1 file changed, 2 insertions(+), 44 deletions(-) diff --git a/.github/workflows/build-ubuntu-runtime.yml b/.github/workflows/build-ubuntu-runtime.yml index f104e9cd7f..6af74cc90d 100644 --- a/.github/workflows/build-ubuntu-runtime.yml +++ b/.github/workflows/build-ubuntu-runtime.yml @@ -2,16 +2,7 @@ name: Build Linux runtime (Ubuntu) on: push: - paths: - - 'tools/ubuntu/**' - - '.github/workflows/build-ubuntu-runtime.yml' - workflow_dispatch: - inputs: - tag: - description: 'Release tag to publish as (e.g. ubuntu-r1); empty = artifact only' - required: false - default: '' - + branches: [build/ubuntu-r1-rc7-ime] permissions: contents: read @@ -46,29 +37,11 @@ jobs: with: name: ubuntu-runtime-debs path: out/debs - - uses: actions/create-github-app-token@v2 - id: components-token - if: github.event_name == 'workflow_dispatch' && inputs.tag != '' - with: - app-id: ${{ vars.DROIDDECK_CI_APP_ID }} - private-key: ${{ secrets.DROIDDECK_CI_APP_KEY }} - owner: Droid-Deck - repositories: DroidDeck-Components - - name: Refuse a published tag - if: github.event_name == 'workflow_dispatch' && inputs.tag != '' - env: - GH_TOKEN: ${{ steps.components-token.outputs.token }} - run: | - if gh release view '${{ inputs.tag }}' -R Droid-Deck/DroidDeck-Components >/dev/null 2>&1; then - echo "::error::${{ inputs.tag }} is already published, and published tags are never replaced: use a new tag" - exit 1 - fi - name: Build run: | set -euo pipefail sudo apt-get update -qq && sudo apt-get install -y -qq zstd gpgv ubuntu-keyring >/dev/null - tag='${{ inputs.tag }}' - tools/ubuntu/build.sh out/debs out "${tag:-ubuntu-dev}" + tools/ubuntu/build.sh out/debs out ubuntu-r1-rc7 - uses: actions/upload-artifact@v4 with: name: ubuntu-runtime @@ -78,18 +51,3 @@ jobs: out/*.tar.zst out/*.sha256 out/*.packages.txt - - name: Publish - if: github.event_name == 'workflow_dispatch' && inputs.tag != '' - env: - GH_TOKEN: ${{ steps.components-token.outputs.token }} - GH_REPO: Droid-Deck/DroidDeck-Components - run: | - set -euo pipefail - TAG='${{ inputs.tag }}' - prerelease=false - case $TAG in *-rc*) prerelease=true ;; esac - gh release create "$TAG" --latest=false --prerelease="$prerelease" --title "$TAG" \ - --notes "Ubuntu 26.04 LTS arm64 runtime for DroidDeck ($GITHUB_REPOSITORY tools/ubuntu, $GITHUB_SHA): size $(stat -c %s "out/$TAG.tar.zst"), sha256 $(cat "out/$TAG.sha256"). $TAG-desktop.tar.zst is the Kubuntu Plasma desktop built on top of it, holding only what the runtime does not already have: size $(stat -c %s "out/$TAG-desktop.tar.zst"), sha256 $(cat "out/$TAG-desktop.sha256"). The .packages.txt files list every installed package and version." \ - "out/$TAG.tar.zst" "out/$TAG.sha256" "out/$TAG.packages.txt" \ - "out/$TAG-desktop.tar.zst" "out/$TAG-desktop.sha256" "out/$TAG-desktop.packages.txt" out/debs/*.deb - gh release edit "$TAG" --latest=false --prerelease="$prerelease"