Skip to content

Commit

Permalink
Updated actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Uralstech committed Nov 12, 2024
1 parent 30dabe7 commit b19b0aa
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/pages-upload-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,20 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Dotnet Setup

- name: Setup Signing
run: |
mkdir Secrets
echo "${{ secrets.LIB_SIGNING_KEY }}" > Secrets/sgKey.txt
base64 --decode Secrets/sgKey.txt > Secrets/sgKey.snk
- name: .NET Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x

# Build ezr², install docfx and generate the docs.
- run: dotnet build ezrSquared.sln -c Release

- run: dotnet tool update -g docfx
- run: docfx docs/docfx.json

Expand All @@ -40,6 +47,7 @@ jobs:
with:
# Upload entire repository
path: 'docs/_site'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -365,4 +365,4 @@ FodyWeavers.xsd
# --------------------------------------------------

[Ll]ibraries/
/NOCOMMIT
[Ss]ecrets/
4 changes: 2 additions & 2 deletions src/EzrSquared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@

<IncludeSymbols>True</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

<SignAssembly>True</SignAssembly>
<DelaySign>False</DelaySign>
<AssemblyOriginatorKeyFile>D:\Code\csharp\ezrSquared\NOCOMMIT\sgKey.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>..\Secrets\sgKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit b19b0aa

Please sign in to comment.