Skip to content

Commit a6657cd

Browse files
committed
ci: Write license file before build step
Add a step to write the SIXLABORS_LICENSE key to the src/sixlabors.lic file to ensure proper access to the required license during the build process.
1 parent efb03a6 commit a6657cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/dotnet.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
uses: actions/setup-dotnet@v4
1616
with:
1717
dotnet-version: 10.0.x
18+
- run: echo ${{ secrets.SIXLABORS_LICENSE }} > src/sixlabors.lic
1819
- name: Build
1920
run: dotnet publish -c Release -p:PublishSingleFile=true --self-contained true
2021
- name: Upload Artifact

0 commit comments

Comments
 (0)