mirror of
https://github.com/Smaug123/WoofWare.DotnetRuntimeLocator
synced 2025-10-09 17:28:40 +00:00
Switch to trusted publishing (#124)
This commit is contained in:
7
.github/workflows/dotnet.yaml
vendored
7
.github/workflows/dotnet.yaml
vendored
@@ -248,11 +248,16 @@ jobs:
|
|||||||
- name: Identify .NET
|
- name: Identify .NET
|
||||||
id: identify-dotnet
|
id: identify-dotnet
|
||||||
run: nix develop --command bash -c "echo dotnet=$(which dotnet) >> $GITHUB_OUTPUT"
|
run: nix develop --command bash -c "echo dotnet=$(which dotnet) >> $GITHUB_OUTPUT"
|
||||||
|
- name: Obtain NuGet key
|
||||||
|
uses: NuGet/login@d22cc5f58ff5b88bf9bd452535b4335137e24544
|
||||||
|
id: login
|
||||||
|
with:
|
||||||
|
user: ${{ secrets.NUGET_USER }}
|
||||||
- name: Publish NuGet package
|
- name: Publish NuGet package
|
||||||
uses: G-Research/common-actions/publish-nuget@2b7dc49cb14f3344fbe6019c14a31165e258c059
|
uses: G-Research/common-actions/publish-nuget@2b7dc49cb14f3344fbe6019c14a31165e258c059
|
||||||
with:
|
with:
|
||||||
package-name: WoofWare.DotnetRuntimeLocator
|
package-name: WoofWare.DotnetRuntimeLocator
|
||||||
nuget-key: ${{ secrets.NUGET_API_KEY }}
|
nuget-key: ${{ steps.login.outputs.NUGET_API_KEY }}
|
||||||
nupkg-dir: packed/
|
nupkg-dir: packed/
|
||||||
dotnet: ${{ steps.identify-dotnet.outputs.dotnet }}
|
dotnet: ${{ steps.identify-dotnet.outputs.dotnet }}
|
||||||
|
|
||||||
|
@@ -28,3 +28,7 @@ which should be a full path to a `libhostfxr` DLL on your system.
|
|||||||
(Normally this is in `/usr/share/dotnet/host/fxr/{runtime}/libhostfxr.so`;
|
(Normally this is in `/usr/share/dotnet/host/fxr/{runtime}/libhostfxr.so`;
|
||||||
you must make sure your version is from runtime 6 or greater,
|
you must make sure your version is from runtime 6 or greater,
|
||||||
because the required symbols were not added until then.)
|
because the required symbols were not added until then.)
|
||||||
|
|
||||||
|
# Licence
|
||||||
|
|
||||||
|
WoofWare.DotnetRuntimeLocator is licensed to you under the MIT licence, a copy of which can be found at [LICENSE](./LICENSE).
|
||||||
|
Reference in New Issue
Block a user