Skip to content

Commit ebbb0ab

Browse files
committed
ci: Add SixLabors NuGet source and license file
Add the SixLabors private NuGet source before the build steps and write the license key to a file, ensuring normal access to the required dependency packages during the build process.
1 parent 125a335 commit ebbb0ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/dotnet.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
uses: actions/setup-dotnet@v4
1616
with:
1717
dotnet-version: 10.0.x
18+
- run: dotnet nuget add source https://f.feedz.io/sixlabors/sixlabors/nuget/index.json
19+
- run: echo "${{ secrets.SIXLABORS_LICENSE }}" > src/sixlabors.lic
1820
- name: Build
1921
run: dotnet publish -c Release -p:PublishSingleFile=true --self-contained true
2022
- name: Upload Artifact

0 commit comments

Comments
 (0)