Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 3f1da57

Browse files
committed
[CI] Adding github workflow, fixing small mistake in StoreCommands.cs
1 parent e232073 commit 3f1da57

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: .NET Core
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Setup .NET Core
13+
uses: actions/setup-dotnet@v1
14+
with:
15+
dotnet-version: 5.0.100-preview.7.20366.6
16+
- name: Install dependencies
17+
run: dotnet restore
18+
- name: Build
19+
run: dotnet build --configuration Release --no-restore

StoreCommands.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,8 @@ public async Task SearchAsync(CommandContext cct, [Description("Query string")]
512512

513513
try
514514
{
515-
DCatSearch results = await DisplayCatalogHandler.SearchDCATAsync(query, deviceFamilyEnum);
515+
DisplayCatalogHandler dcat = DisplayCatalogHandler.ProductionConfig();
516+
DCatSearch results = await dcat.SearchDCATAsync(query, deviceFamilyEnum);
516517
var searchresultsembedded = new DiscordEmbedBuilder()
517518
{
518519
Title = "Search results:",

0 commit comments

Comments
 (0)