Skip to content

Commit 7787d96

Browse files
[github-nfbot] Fix CI for dotnet build publishing (#87)
1 parent e4b67e2 commit 7787d96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/NanoFramework-GitHubBot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Build Azure Function
3636
run: |
37-
dotnet build "github-nfbot/GitHub-nfbot" --configuration ${{ env.CONFIGURATION }} --output "${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}"
37+
dotnet build "github-nfbot/GitHub-nfbot" --configuration ${{ env.CONFIGURATION }} --property:PublishDir="${{ 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.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1887,7 +1887,7 @@ public static async Task<int> SendGitHubRequest(
18871887
return (int)response.StatusCode;
18881888
}
18891889

1890-
return 0;
1890+
//return 0;
18911891
}
18921892

18931893
public static async Task<dynamic> GetGitHubRequest(

0 commit comments

Comments
 (0)