Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
treyhendon authored Dec 23, 2020
1 parent 8711c68 commit c351341
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
runs-on: windows-latest

env:
Solution_Name: ClearstreamDotNetFramework
Configuration: Release
SOLUTION_NAME: ClearstreamDotNetFramework.sln
CONFIGURATION: Release

steps:
- name: Checkout
Expand All @@ -31,13 +31,13 @@ jobs:
uses: microsoft/[email protected]

- name: Restore NuGet Packages
run: nuget restore $env:Solution_Name
run: nuget restore ${{ env.SOLUTION_NAME }}

- name: Build ClearstreamDotNetFramework
run: msbuild $env:Solution_Name /p:Configuration=$env:Configuration
run: msbuild ${{ env.SOLUTION_NAME }} /p:Configuration=${{ env.CONFIGURATION }}

- name: Create NuGet Package
run: nuget pack -properties Configuration=$env:Configuration
run: nuget pack -properties Configuration=${{ env.CONFIGURATION }}
working-directory: ./ClearstreamDotNetFramework/

- name: Push NuGet Package
Expand Down

0 comments on commit c351341

Please sign in to comment.