Skip to content

Commit

Permalink
Fix Build Deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPulman committed Dec 19, 2023
1 parent 7f5310c commit 7a62e1d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/BuildDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,27 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: NBGV
id: nbgv
uses: dotnet/nbgv@master
with:
setAllVars: true
- run: echo 'SemVer2=${{ steps.nbgv.outputs.SemVer2 }}'

- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v3
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}

- name: 'Run: Compile, Deploy'
run: ./build.cmd Compile Deploy
env:
NuGetApiKey: ${{ secrets.NUGET_API_KEY }}

- name: 'Publish: output'
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 7a62e1d

Please sign in to comment.