Skip to content

Commit

Permalink
dotnet global.json
Browse files Browse the repository at this point in the history
  • Loading branch information
dorthl committed Jun 19, 2023
1 parent e4e5158 commit e546483
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Expand Up @@ -26,11 +26,17 @@ jobs:
restore-keys: |
${{ runner.os }}-node
- uses: actions/cache@v2
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
cache: true
dglobal-json-file: global.json

- name: Publish Blogifier
run: dotnet publish -c Release /p:RuntimeIdentifier=linux-x64 ./src/Blogifier/Blogifier.csproj --output dist
Expand Down
5 changes: 5 additions & 0 deletions global.json
@@ -0,0 +1,5 @@
{
"sdk": {
"version": "7.0.304"
}
}

0 comments on commit e546483

Please sign in to comment.