Skip to content

Commit d08179f

Browse files
[github-nfbot] Revert back to .NET 6 (#89)
1 parent 7787d96 commit d08179f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/NanoFramework-GitHubBot.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
AZURE_FUNCTIONAPP_NAME: NanoFramework-GitHubBot
1616
AZURE_FUNCTIONAPP_PACKAGE_PATH: .\published
1717
CONFIGURATION: Release
18-
DOTNET_VERSION: '8.0.x'
18+
DOTNET_VERSION: '6.0.x'
1919
WORKING_DIRECTORY: .
2020
DOTNET_CORE_VERSION_INPROC: ''
2121

@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Build Azure Function
3636
run: |
37-
dotnet build "github-nfbot/GitHub-nfbot" --configuration ${{ env.CONFIGURATION }} --property:PublishDir="${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}"
37+
dotnet build "github-nfbot/GitHub-nfbot" --configuration ${{ env.CONFIGURATION }} --output "${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}"
3838
3939
- name: Deploy to Azure Function App
4040
if: github.event_name == 'push' && github.ref == 'refs/heads/main'

github-nfbot/GitHub-nfbot/GitHub-nfbot.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net6.0</TargetFramework>
44
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
55
<RootNamespace>GitHub_nfbot</RootNamespace>
66
<UserSecretsId>eb38317d-abae-4ecf-902b-71be30f7c744</UserSecretsId>

0 commit comments

Comments
 (0)