2 Commits
Author SHA1 Message Date
alex 7a325ec620 fixed isGhes func in release pipeline 2026-08-14 04:31:55 +05:00
alex 1d9fd5b0e8 fix wix installer bug
Pull request / build (pull_request) Successful in 41s
2026-08-14 02:51:14 +05:00
+13 -14
View File
@@ -140,20 +140,17 @@ jobs:
# The artifact is where the package waits to be uploaded to Partner Center.
#
# The action comes from this Gitea rather than from github.com, and it is
# a fork of actions/upload-artifact with one line changed. Upstream reads
# GITHUB_SERVER_URL, takes every host but github.com and its enterprise
# ones for a GitHub Enterprise Server — where the v4 artifact backend does
# not exist — and throws before it makes a request. Here that backend does
# exist and answers, but the check runs on the runner ahead of the network
# and never lets it prove itself; nor can the name be corrected from this
# file, as the runner sets the GITHUB_ ones over the env of a step. The
# fork carries the reasoning in full in its GITEA-PATCH.md.
#
# The tag is a fixed one. A floating tag is how this broke before: the
# action is fetched at run time, and what arrives can change on its own
# GITHUB_SERVER_URL is put back to github.com for these two steps alone.
# The action reads it to tell a GitHub Enterprise Server from github.com
# and refuses to run on anything else with a GHESNotSupportedError, Gitea
# included — although Gitea answers the very requests the action makes.
# The upload goes to ACTIONS_RESULTS_URL, which is left as Gitea set it,
# so the substitution reaches the check and nothing else. The artifact-url
# output comes out pointing at github.com; nothing here reads it
- name: Keep the package
uses: https://git.alrakis.kz/actions/upload-artifact@v4-gitea
uses: actions/upload-artifact@v4
env:
GITHUB_SERVER_URL: https://github.com
with:
name: msix-${{ steps.version.outputs.version }}
path: artifacts/packages/
@@ -162,7 +159,9 @@ jobs:
# The .wixpdb next to each installer is left out on purpose: it is of use
# only when something has to be traced back to the WiX source
- name: Keep the installer
uses: https://git.alrakis.kz/actions/upload-artifact@v4-gitea
uses: actions/upload-artifact@v4
env:
GITHUB_SERVER_URL: https://github.com
with:
name: installer-${{ steps.version.outputs.plain }}
path: artifacts/installers/*.msi