-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re supabase-community/supabase-csharp#74 - changes assembly name to `…
…Supabase.Core`
- Loading branch information
1 parent
e6eede9
commit 0896b05
Showing
6 changed files
with
71 additions
and
55 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 3.1.301 | ||
dotnet-version: '7.0.x' | ||
|
||
- name: Wait for tests to succeed | ||
uses: lewagon/[email protected] | ||
|
@@ -23,28 +23,13 @@ jobs: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 10 | ||
|
||
# Publish | ||
- name: publish on version change | ||
id: publish_nuget | ||
uses: rohith/publish-nuget@v2 | ||
with: | ||
# Filepath of the project to be packaged, relative to root of repository | ||
PROJECT_FILE_PATH: Core/Core.csproj | ||
|
||
# NuGet package id, used for version detection & defaults to project name | ||
PACKAGE_NAME: supabase/core | ||
|
||
# Filepath with version info, relative to root of repository & defaults to PROJECT_FILE_PATH | ||
# VERSION_FILE_PATH: Directory.Build.props | ||
- name: Install dependencies | ||
run: dotnet restore | ||
|
||
# Regex pattern to extract version info in a capturing group | ||
VERSION_REGEX: ^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$ | ||
- name: Build Core | ||
run: dotnet build ./Core/Core.csproj --configuration Release --no-restore | ||
|
||
# API key to authenticate with NuGet server | ||
NUGET_KEY: ${{secrets.NUGET_API_KEY}} | ||
|
||
# NuGet server uri hosting the packages, defaults to https://api.nuget.org | ||
NUGET_SOURCE: https://api.nuget.org | ||
|
||
# Flag to toggle pushing symbols along with nuget package to the server, disabled by default | ||
INCLUDE_SYMBOLS: true | ||
# Publish | ||
- name: publish on version change | ||
run: nuget push "**/*.nupkg" -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
# Changelog | ||
|
||
## 0.0.3 - 2023-06-10 | ||
|
||
- Changes assembly name to `Supabase.Core` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,45 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<PackOnBuild>true</PackOnBuild> | ||
<PackageId>supabase-core</PackageId> | ||
<Authors>Joseph Schultz <[email protected]></Authors> | ||
<Copyright>MIT</Copyright> | ||
<NeutralLanguage>en</NeutralLanguage> | ||
<Owners>Joseph Schultz <[email protected]></Owners> | ||
<Summary>Shared core for supabase-csharp</Summary> | ||
<Title>Supabase Core</Title> | ||
<Description>Shared core for supabase-csharp</Description> | ||
<RootNamespace>Supabase.Core</RootNamespace> | ||
<PackageIconUrl>https://avatars.githubusercontent.com/u/54469796?s=200&v=4</PackageIconUrl> | ||
<PackageLicenseUrl>https://github.com/supabase-community/core-csharp/blob/master/LICENSE</PackageLicenseUrl> | ||
<PackageProjectUrl>https://github.com/supabase-community/core-csharp</PackageProjectUrl> | ||
<PackageTags>supabase, core</PackageTags> | ||
<PackageVersion>0.0.2</PackageVersion> | ||
<ReleaseVersion>0.0.2</ReleaseVersion> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<Nullable>enable</Nullable> | ||
<LangVersion>8.0</LangVersion> | ||
<WarningsAsErrors>CS8600;CS8602;CS8603</WarningsAsErrors> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<AssemblyName>Supabase.Core</AssemblyName> | ||
<RootNamespace>Supabase.Core</RootNamespace> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<PackOnBuild>true</PackOnBuild> | ||
<PackageId>supabase-core</PackageId> | ||
<Authors>Joseph Schultz <[email protected]></Authors> | ||
<Copyright>MIT</Copyright> | ||
<NeutralLanguage>en</NeutralLanguage> | ||
<Owners>Joseph Schultz <[email protected]></Owners> | ||
<Summary>Shared core for supabase-csharp</Summary> | ||
<Title>Supabase Core</Title> | ||
<Description>Shared core for supabase-csharp</Description> | ||
<PackageIconUrl>https://avatars.githubusercontent.com/u/54469796?s=200&v=4</PackageIconUrl> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageProjectUrl>https://github.com/supabase-community/core-csharp</PackageProjectUrl> | ||
<RepositoryUrl>https://github.com/supabase-community/core-csharp</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<PackageTags>supabase, core</PackageTags> | ||
<PackageIcon>icon.png</PackageIcon> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<PackageVersion>0.0.3</PackageVersion> | ||
<ReleaseVersion>0.0.3</ReleaseVersion> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<Nullable>enable</Nullable> | ||
<LangVersion>8.0</LangVersion> | ||
<WarningsAsErrors>CS8600;CS8602;CS8603</WarningsAsErrors> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Include="..\.github\icon.png" Pack="true" Link="icon.png" PackagePath="\" /> | ||
<None Include="..\README.md" Pack="true" Link="README.md" PackagePath="\" /> | ||
</ItemGroup> | ||
</Project> |