ci: build-nsInnoUnp targets nsis-plugin-ns7zip
Switch the cross-repo build target to Simone/nsis-plugin-ns7zip (repo-url, artifact-name, release asset name). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Build (Local CI) — pipeline per nsis-plugin-nsinnounp
|
# Build (Local CI) — pipeline per nsis-plugin-ns7zip
|
||||||
#
|
#
|
||||||
# Cross-platform matrix build: runs in parallel on both windows-build (WinRM)
|
# Cross-platform matrix build: runs in parallel on both windows-build (WinRM)
|
||||||
# and linux-build (SSH) runners using the reusable composite action.
|
# and linux-build (SSH) runners using the reusable composite action.
|
||||||
@@ -36,13 +36,13 @@ jobs:
|
|||||||
# host, not in the guest. use-git-clone:'false' selects the
|
# host, not in the guest. use-git-clone:'false' selects the
|
||||||
# host-side clone + zip transfer transport.
|
# host-side clone + zip transfer transport.
|
||||||
use-git-clone: 'false'
|
use-git-clone: 'false'
|
||||||
repo-url: 'ssh://gitea-ci/Simone/nsis-plugin-nsinnounp.git'
|
repo-url: 'ssh://gitea-ci/Simone/nsis-plugin-ns7zip.git'
|
||||||
# Cross-repo build: github.ref_name is this repo's branch, not
|
# Cross-repo build: github.ref_name is this repo's branch, not
|
||||||
# nsis-plugin-nsinnounp's. Pin the target repo's branch.
|
# nsis-plugin-ns7zip's. Pin the target repo's branch.
|
||||||
repo-branch: 'main'
|
repo-branch: 'main'
|
||||||
# Suffix disambiguates artifact dirs: F:\CI\Artifacts\{run_id}-{attempt}-windows
|
# Suffix disambiguates artifact dirs: F:\CI\Artifacts\{run_id}-{attempt}-windows
|
||||||
job-id-suffix: '${{ matrix.target }}'
|
job-id-suffix: '${{ matrix.target }}'
|
||||||
artifact-name: 'nsis-plugin-nsinnounp-${{ matrix.target }}-${{ github.ref_name }}'
|
artifact-name: 'nsis-plugin-ns7zip-${{ matrix.target }}-${{ github.ref_name }}'
|
||||||
|
|
||||||
# ── Publish Gitea release with build artifacts ────────────────────────────
|
# ── Publish Gitea release with build artifacts ────────────────────────────
|
||||||
# Runs only on tag pushes, after both matrix legs succeed.
|
# Runs only on tag pushes, after both matrix legs succeed.
|
||||||
@@ -96,7 +96,7 @@ jobs:
|
|||||||
-not (Get-ChildItem -Force -LiteralPath $srcDir)) {
|
-not (Get-ChildItem -Force -LiteralPath $srcDir)) {
|
||||||
throw "artifact dir missing or empty: $srcDir"
|
throw "artifact dir missing or empty: $srcDir"
|
||||||
}
|
}
|
||||||
$zipName = "nsis-plugin-nsinnounp-$target-$env:TAG.zip"
|
$zipName = "nsis-plugin-ns7zip-$target-$env:TAG.zip"
|
||||||
Compress-Archive -Path "$srcDir\*" -DestinationPath $zipName -Force
|
Compress-Archive -Path "$srcDir\*" -DestinationPath $zipName -Force
|
||||||
|
|
||||||
$uploadUrl = "$apiBase/releases/$releaseId/assets?name=$zipName"
|
$uploadUrl = "$apiBase/releases/$releaseId/assets?name=$zipName"
|
||||||
|
|||||||
Reference in New Issue
Block a user