diff --git a/.github/workflows/create-tag.yml b/.github/workflows/create-tag.yml index 344b6001..167d86d4 100644 --- a/.github/workflows/create-tag.yml +++ b/.github/workflows/create-tag.yml @@ -82,3 +82,8 @@ jobs: # natively reports GITHUB_REF=refs/tags/ / GITHUB_REF_TYPE=tag, # and the build derives the version straight from the tag. gh api "repos/$env:GITHUB_REPOSITORY/actions/workflows/ci.yml/dispatches" -f "ref=$env:TAG" + + # Wait briefly for the run to appear, then print its URL. + Start-Sleep -Seconds 5 + $RunUrl = gh run list --repo $env:GITHUB_REPOSITORY --workflow=ci.yml --branch=$env:TAG --limit=1 --json url --jq '.[0].url' + Write-Host "Dispatched CI run: $RunUrl" diff --git a/.github/workflows/publish-testsigned-release.yml b/.github/workflows/publish-testsigned-release.yml index 1423cb9e..d6a0f062 100644 --- a/.github/workflows/publish-testsigned-release.yml +++ b/.github/workflows/publish-testsigned-release.yml @@ -34,7 +34,9 @@ jobs: $ErrorActionPreference = 'Stop' New-Item -ItemType Directory -Path release_assets -Force | Out-Null - Get-ChildItem -Path artifacts -Filter *.nupkg -Recurse | Copy-Item -Destination release_assets + Get-ChildItem -Path artifacts -Filter *.nupkg -Recurse | + Where-Object { $_.FullName -notmatch 'baseref' } | + Copy-Item -Destination release_assets $Packages = Get-ChildItem -Path release_assets -Filter *.nupkg Write-Host "NuGet packages found:"