mirror of
https://github.com/walter-base/common-workflow.git
synced 2026-09-08 19:26:46 -04:00
fix: disable generic Gitea publishing
This commit is contained in:
@@ -115,7 +115,7 @@ on:
|
|||||||
type: string
|
type: string
|
||||||
default: marketplace
|
default: marketplace
|
||||||
publish_gitea:
|
publish_gitea:
|
||||||
description: Upload public installers for Claude, Codex, OpenCode, and Cursor to Gitea.
|
description: Deprecated and ignored. Generic Gitea installer publishing is disabled; use the npm registry.
|
||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
@@ -330,7 +330,9 @@ jobs:
|
|||||||
echo "npm_registry=${registry}" >> "$GITHUB_OUTPUT"
|
echo "npm_registry=${registry}" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Build Gitea installers
|
- name: Build Gitea installers
|
||||||
if: inputs.publish_gitea
|
# Generic installer publishing is retired. Keep this block temporarily
|
||||||
|
# for backwards-compatible workflow inputs, but never execute it.
|
||||||
|
if: false
|
||||||
env:
|
env:
|
||||||
ARCHIVE_NAME: ${{ inputs.archive_name }}
|
ARCHIVE_NAME: ${{ inputs.archive_name }}
|
||||||
GITEA_PACKAGE_NAME: ${{ inputs.gitea_package_name }}
|
GITEA_PACKAGE_NAME: ${{ inputs.gitea_package_name }}
|
||||||
@@ -477,7 +479,9 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Upload archive to Gitea
|
- name: Upload archive to Gitea
|
||||||
if: inputs.publish_gitea
|
# Generic installer publishing is retired. Keep this block temporarily
|
||||||
|
# for backwards-compatible workflow inputs, but never execute it.
|
||||||
|
if: false
|
||||||
id: gitea
|
id: gitea
|
||||||
env:
|
env:
|
||||||
ARCHIVE_NAME: ${{ inputs.archive_name }}
|
ARCHIVE_NAME: ${{ inputs.archive_name }}
|
||||||
@@ -512,7 +516,6 @@ jobs:
|
|||||||
echo "installer_url=${package_base}/${installer}" >> "$GITHUB_OUTPUT"
|
echo "installer_url=${package_base}/${installer}" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Upload archive to GitHub Release
|
- name: Upload archive to GitHub Release
|
||||||
if: ${{ !inputs.publish_gitea }}
|
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ needs.release-please.outputs.tag_name }}
|
tag_name: ${{ needs.release-please.outputs.tag_name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user