Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,21 @@ jobs:
- name: Checkout
uses: actions/checkout@v7

- name: Get version from tag
id: version
run: echo "version=${{ github.event.release.tag_name }}" >> "$GITHUB_OUTPUT"

- name: Restore
run: dotnet restore

- name: Build
run: dotnet build --no-restore --configuration Release
run: dotnet build --no-restore --configuration Release -p:Version=${{ steps.version.outputs.version }}

- name: Test
run: dotnet test --no-build --configuration Release --logger trx --results-directory ./test-results/

- name: Package
run: dotnet pack --no-build --configuration Release --output ./build-output/
run: dotnet pack --no-build --configuration Release --output ./build-output/ -p:Version=${{ steps.version.outputs.version }}

- name: Upload nuget package artifacts
uses: actions/upload-artifact@v7
Expand Down
4 changes: 0 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
<NoWarn>CS1591</NoWarn>
</PropertyGroup>

<PropertyGroup>
<Version>1.14.0</Version>
</PropertyGroup>

<ItemGroup>
<InternalsVisibleTo Include="$(AssemblyName).Tests" />
</ItemGroup>
Expand Down
Loading