Skip to content

Commit

Permalink
Reference updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutomi committed Oct 28, 2023
1 parent a1ed434 commit de0eb3d
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 4 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/manual-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: "Webhooks Release (Manual)"

on:
workflow_dispatch:
inputs:
version:
type: string
description: 'Version number'
required: true

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup .NET 6.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

- name: Add Deveel GitHub NuGet Source
run: dotnet nuget add source "https://nuget.pkg.github.com/deveel/index.json" -n "Deveel GitHub" -u ${{ secrets.DEVEEL_NUGET_USER }} -p ${{ secrets.DEVEEL_NUGET_TOKEN }} --store-password-in-clear-text

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --no-restore -c Release /p:Version=${{ inputs.version }}

- name: Test
run: dotnet test --no-build --verbosity normal -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[*.XUnit]*"

- name: Collect to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.OCM_CODECOV_TOKEN }}

- name: Pack
run: dotnet pack --configuration Release --no-restore --no-build --include-symbols -p:PackageVersion=$VERSION --output ./nuget

- name: Push Packages to GitHub NuGet

run: dotnet nuget push ./nuget/**/*.nupkg --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
2 changes: 1 addition & 1 deletion samples/WebhookNotifierApp/WebhookNotifierApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Finbuckle.MultiTenant.AspNetCore" Version="6.10.0" />
<PackageReference Include="Finbuckle.MultiTenant.AspNetCore" Version="6.12.0" />
<PackageReference Include="Riok.Mapperly" Version="3.1.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Deveel.Repository.EntityFramework" Version="1.2.7-6657417435" />
<PackageReference Include="Deveel.Repository.EntityFramework" Version="1.2.7" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Deveel.Repository.MongoFramework" Version="1.2.6" />
<PackageReference Include="Deveel.Repository.MongoFramework" Version="1.2.7" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Deveel.Webhooks.Service/Deveel.Webhooks.Service.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Deveel.Repository.Manager" Version="1.2.6" />
<PackageReference Include="Deveel.Repository.Manager" Version="1.2.7" />
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
</ItemGroup>

Expand Down

0 comments on commit de0eb3d

Please sign in to comment.