diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 195c114..7cf802d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,12 @@ jobs: runs-on: ubuntu-latest steps: + - name: Output Run ID + run: echo ${{ github.run_id }} + + - name: Output Run Number + run: echo ${{ github.run_number }} + - uses: actions/checkout@v2 - name: Setup .NET SDK @@ -29,3 +35,15 @@ jobs: - name: Test run: dotnet test --no-restore + # - name: Pack NuGet package + # # if: github.ref == 'refs/heads/master' + # run: dotnet pack -o . + + # - name: Publish NuGet package + # shell: bash + # # if: github.ref == 'refs/heads/master' + # env: + # NUGET_KEY: ${{secrets.NUGET_KEY}} + # run: dotnet nuget push "*.nupkg" -k "$NUGET_KEY" -s https://api.nuget.org/v3/index.json + + diff --git a/examples/DetektorExample/Program.cs b/examples/DetektorExample/Program.cs index 71ea735..aedbccc 100644 --- a/examples/DetektorExample/Program.cs +++ b/examples/DetektorExample/Program.cs @@ -19,8 +19,8 @@ Console.WriteLine($"NewValue: {change.Value.NewValue}"); } -class User: IChangeTrackable -{ +class User : IChangeTrackable +{ public string FirstName { get; set; } public string LastName { get; set; } diff --git a/src/Detektor/Detektor.csproj b/src/Detektor/Detektor.csproj index 132c02c..5838f2f 100644 --- a/src/Detektor/Detektor.csproj +++ b/src/Detektor/Detektor.csproj @@ -1,9 +1,26 @@ - + net6.0 enable enable + true + https://github.com/readonlyden/Detektor + README.md + https://github.com/readonlyden/Detektor + LICENSE + 0.1.0-alpha + + + True + \ + + + True + \ + + +