Skip to content

Commit

Permalink
publishing SqliteParserCs
Browse files Browse the repository at this point in the history
  • Loading branch information
lamg committed Jan 11, 2025
1 parent 7ad151b commit 8bb9dc0
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 4 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,16 @@ jobs:

steps:
- uses: actions/checkout@v4


- name: publish SqliteParserCs
run: |
dotnet publish -c Release
dotnet pack
dotnet nuget push nupkg/*.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
working-directory: ./src/SqliteParserCs
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

- name: publish migtool
run: |
dotnet publish -c Release
Expand All @@ -29,4 +38,5 @@ jobs:
dotnet nuget push nupkg/*.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
working-directory: ./src/MigLib
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

20 changes: 20 additions & 0 deletions src/SqliteParserCs/SqliteParserCs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>SqliteParser</RootNamespace>
<PackageId>SqliteParserCs</PackageId>
<Version>1.0.2</Version>
<PackageOutputPath>./nupkg</PackageOutputPath>
<InvariantGlobalization>true</InvariantGlobalization>
<AssemblyName>SqliteParserCs</AssemblyName>

<Authors>Luis Ángel Méndez Gort</Authors>
<PackageProjectUrl>https://github.com/lamg/migrate</PackageProjectUrl>
<RepositoryUrl>https://github.com/lamg/migrate</RepositoryUrl>
<PackageProjectUrl>https://github.com/lamg/migrate</PackageProjectUrl>
<RepositoryUrl>https://github.com/lamg/migrate</RepositoryUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageIcon>logo.png</PackageIcon>
</PropertyGroup>
<ItemGroup>
<Antlr4 Include="SQLiteLexer.g4">
Expand All @@ -22,6 +36,12 @@
<Error>true</Error>
</Antlr4>
</ItemGroup>

<ItemGroup>
<Content Include="..\..\README.md" Pack="true" PackagePath="\" />
<Content Include="..\..\images\logo.png" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Antlr4.Runtime.Standard"/>
<PackageReference Include="Antlr4BuildTasks"/>
Expand Down
2 changes: 0 additions & 2 deletions src/mig/mig.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
<Compile Include="Program.fs"/>
<Content Include="..\..\README.md" Pack="true" PackagePath="\" />
<Content Include="..\..\images\logo.png" Pack="true" PackagePath="\" />


</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 8bb9dc0

Please sign in to comment.