Skip to content

Commit

Permalink
misc: new release.
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitism committed May 30, 2024
1 parent 189549d commit 88e3799
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: Release
name: Pack and Release

on:
push:
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: Test

on:
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore ./src
- name: Build
run: dotnet build --no-restore ./src
- name: Test
run: dotnet test --no-build --verbosity normal ./src
5 changes: 3 additions & 2 deletions src/Irihi.Avalonia.Shared.sln
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Irihi.Avalonia.Shared.Publi
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Irihi.Avalonia.Shared.UnitTest.Public", "..\test\Irihi.Avalonia.Shared.UnitTest.Public\Irihi.Avalonia.Shared.UnitTest.Public.shproj", "{222449F9-96D5-409E-9627-AA1DE6219B26}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ProjectFiles", "ProjectFiles", "{A7FDE117-37A4-41D0-8FE4-13849541365E}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionFiles", "SolutionFiles", "{A7FDE117-37A4-41D0-8FE4-13849541365E}"
ProjectSection(SolutionItems) = preProject
..\.github\workflows\dotnet.yml = ..\.github\workflows\dotnet.yml
..\.github\workflows\test.yml = ..\.github\workflows\test.yml
..\.github\workflows\pack.yml = ..\.github\workflows\pack.yml
EndProjectSection
EndProject
Global
Expand Down
2 changes: 1 addition & 1 deletion src/Irihi.Avalonia.Shared/Irihi.Avalonia.Shared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<Version>0.1.7</Version>
<Version>0.1.8</Version>
<Authors>IRIHI Technology Co., Ltd.</Authors>
<PackageId>Irihi.Avalonia.Shared</PackageId>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down

0 comments on commit 88e3799

Please sign in to comment.