Compare commits
1
Commits
v1.0.2
..
81587988f2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
81587988f2 |
@@ -138,19 +138,9 @@ jobs:
|
||||
- name: Build the installer
|
||||
run: ./Packaging/build-installer.ps1 -Version ${{ steps.version.outputs.plain }}
|
||||
|
||||
# The artifact is where the package waits to be uploaded to Partner Center.
|
||||
#
|
||||
# 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
|
||||
# The artifact is where the package waits to be uploaded to Partner Center
|
||||
- name: Keep the package
|
||||
uses: actions/upload-artifact@v4
|
||||
env:
|
||||
GITHUB_SERVER_URL: https://github.com
|
||||
with:
|
||||
name: msix-${{ steps.version.outputs.version }}
|
||||
path: artifacts/packages/
|
||||
@@ -160,8 +150,6 @@ jobs:
|
||||
# only when something has to be traced back to the WiX source
|
||||
- name: Keep the installer
|
||||
uses: actions/upload-artifact@v4
|
||||
env:
|
||||
GITHUB_SERVER_URL: https://github.com
|
||||
with:
|
||||
name: installer-${{ steps.version.outputs.plain }}
|
||||
path: artifacts/installers/*.msi
|
||||
@@ -179,8 +167,10 @@ jobs:
|
||||
|
||||
# The GITHUB_ names are what Gitea itself hands to the workflow — its
|
||||
# actions repeat those of GitHub, and the addresses in them point at
|
||||
# this Gitea instance
|
||||
$api = "$env:GITHUB_API_URL/repos/$env:GITHUB_REPOSITORY/releases"
|
||||
# this Gitea instance. GITHUB_API_URL used not to reach the steps at
|
||||
# all, so the address is put together from the server one when empty
|
||||
$root = if ($env:GITHUB_API_URL) { $env:GITHUB_API_URL } else { "$env:GITHUB_SERVER_URL/api/v1" }
|
||||
$api = "$root/repos/$env:GITHUB_REPOSITORY/releases"
|
||||
$headers = @{ Authorization = "token $env:GITEA_TOKEN" }
|
||||
|
||||
# Gitea makes a release of its own for a pushed tag, so the release is
|
||||
|
||||
@@ -136,8 +136,8 @@
|
||||
Condition="REMOVE="ALL" AND NOT UPGRADINGPRODUCTCODE" />
|
||||
</InstallExecuteSequence>
|
||||
|
||||
<SetProperty Id="WixShellExecTarget" Value="[INSTALLFOLDER]CursorLang.exe"
|
||||
After="CostFinalize" Sequence="ui" />
|
||||
<!-- Offered at the end of the wizard, the way an installer usually does -->
|
||||
<Property Id="WixShellExecTarget" Value="[#CursorLang.exe]" />
|
||||
<CustomAction Id="LaunchApplication" BinaryRef="Wix4UtilCA_$(sys.BUILDARCHSHORT)"
|
||||
DllEntry="WixShellExec" Impersonate="yes" Return="ignore" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user