Skip to content

Commit e3c32eb

Browse files
committed
Add secret
1 parent 443273f commit e3c32eb

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

.github/workflows/release.yml

+13-10
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,20 @@ on:
1515
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1616
jobs:
1717

18-
# Note: Tagging will push the nupackage to nuget.org using the provided NUGETAPIKEY. You can tag both a prerelease version (a.b.c-xxxx) or a stable release (a.b.c).
18+
ubuntu-tests:
19+
name: Run all tests (Ubuntu)
20+
runs-on: ubuntu-22.04 # Latest misses mono for .NET Framework
21+
env:
22+
DOWNLOAD_KEY: ${{ secrets.DOWNLOAD_KEY }}
23+
24+
steps:
25+
- uses: actions/checkout@v4
26+
27+
- name: Test
28+
run: dotnet test -c Release
29+
1930
CICD:
31+
needs: ubuntu-tests
2032
uses: SkylineCommunications/_ReusableWorkflows/.github/workflows/NuGet Solution Master Workflow.yml@main
2133
with:
2234
referenceName: ${{ github.ref_name }}
@@ -30,12 +42,3 @@ jobs:
3042
pfx: ${{ secrets.PFX }}
3143
pfxPassword: ${{ secrets.PFXPASSWORD }}
3244
nugetApiKey: ${{ secrets.NUGETAPIKEY }}
33-
34-
Tests-Ubuntu:
35-
runs-on: ubuntu-22.04 # Latest misses mono for .NET Framework
36-
37-
steps:
38-
- uses: actions/checkout@v4
39-
40-
- name: Test
41-
run: dotnet test -c Release

Sdk/Tasks/DmappCreation.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ private void PackageCatalogReferences(PackageCreationData preparedData, AppPacka
241241
}
242242

243243
string expectedEnvironmentVariable = CatalogDefaultDownloadKeyName.Replace(":", "__");
244-
Log.LogError($"Unable to publish for '{PackageId}'. Missing a project User Secret {CatalogDefaultDownloadKeyName} or environment variable {expectedEnvironmentVariable} holding the dataminer.services organization key.");
244+
Log.LogError($"Unable to download for '{PackageId}'. Missing a project User Secret {CatalogDefaultDownloadKeyName} or environment variable {expectedEnvironmentVariable} holding the dataminer.services organization key.");
245245
return;
246246
}
247247

0 commit comments

Comments
 (0)