Skip to content

Commit

Permalink
github action and namespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
majorsilence committed Oct 30, 2024
1 parent 001d13e commit 814b073
Show file tree
Hide file tree
Showing 3 changed files with 325 additions and 301 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: .NET

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:

windows-build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Build
run: dotnet build usb-barcode-scanner-lib.sln -c Release
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: nuget-packages
path: |
TownSuite.BarcodeScanner/bin/Release/*.nupkg
retention-days: 1
13 changes: 6 additions & 7 deletions TownSuite.BarcodeScanner/BarcodeScannedEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@

namespace TownSuite.BarcodeScanner
{
public class BarcodeScannedEventArgs : EventArgs
public class BarcodeScannedEventArgs : EventArgs
{
public BarcodeScannedEventArgs(string barcode)
{
public BarcodeScannedEventArgs(string barcode)
{
Barcode = barcode;
}

public string Barcode { get; }
Barcode = barcode;
}

public string Barcode { get; }
}
}
Loading

0 comments on commit 814b073

Please sign in to comment.