ci: allow manual Arch package publish
ci-release / verify (push) Failing after 3s
ci-release / publish-arch-package (push) Has been skipped
ci-release / publish-linux-amd64 (push) Has been skipped

This commit is contained in:
2026-08-07 08:57:42 +02:00
parent c95d66d5aa
commit 28a7848b29
+8 -2
View File
@@ -8,6 +8,11 @@ name: ci-release
- "v[0-9]*.[0-9]*.[0-9]*"
pull_request:
workflow_dispatch:
inputs:
release_tag:
description: Existing vX.Y.Z tag to publish to the Arch registry
required: true
type: string
permissions:
contents: write
@@ -147,11 +152,12 @@ jobs:
done
publish-arch-package:
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch'
needs: verify
runs-on: [self-hosted, linux, arch, homelab]
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
RELEASE_TAG: ${{ github.event.inputs.release_tag }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
@@ -160,7 +166,7 @@ jobs:
shell: bash
run: |
set -euo pipefail
tag="${GITHUB_REF##*/}"
tag="${RELEASE_TAG:-${GITHUB_REF##*/}}"
version="${tag#v}"
test "$version" = "$(tr -d '[:space:]' < VERSION)"
git archive --format=tar.gz --prefix="folderscope-${version}/" HEAD \