Skip to content

Commit

Permalink
Attempt to fix publishing on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
hach-que committed Oct 31, 2024
1 parent cb6bb52 commit 4c6552c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/uet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ jobs:
push `
--source https://api.nuget.org/v3/index.json `
--api-key $env:NUGET_API_KEY `
(Get-ChildItem -Recurse -Filter "*.$PackageVersion.nupkg" | % { $_.FullName })
(Get-ChildItem -Recurse -Filter "*.${env:UET_PACKAGE_VERSION}.nupkg" | % { $_.FullName })
if ($LastExitCode -ne 0) {
Write-Host "dotnet push failed with exit code $LastExitCode"
exit $LastExitCode
Expand Down Expand Up @@ -823,7 +823,7 @@ jobs:
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build UEFS Container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ public async Task<int> ExecuteAsync(InvocationContext context)
}).ToArray();
var schemaOnly = context.ParseResult.GetValueForOption(_options.SchemaOnly);

var pat = Environment.GetEnvironmentVariable("GITHUB_RELEASES_PAT");
var pat = Environment.GetEnvironmentVariable("UET_GITHUB_RELEASES_PAT");
if (string.IsNullOrWhiteSpace(pat))
{
_logger.LogError("Expected environment variable GITHUB_RELEASES_PAT to be set (this is an internal command).");
_logger.LogError("Expected environment variable UET_GITHUB_RELEASES_PAT to be set (this is an internal command).");
return 1;
}

Expand Down

0 comments on commit 4c6552c

Please sign in to comment.