Skip to content

Commit

Permalink
build: rollback to v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
matigramirez committed Oct 9, 2023
1 parent 18f566f commit db1fbdc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
- uses: actions/setup-dotnet@v3
with:
dotnet-version: "7.0.x"
source-url: https://nuget.pkg.github.com/matigramirez/index.json
source-url: https://api.nuget.org/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

- run: dotnet build ./src/Parsec --configuration Release
- name: Create NuGet package
run: dotnet pack ./src/Parsec --configuration Release

- name: Publish NuGet package
run: dotnet nuget push ./src/Parsec/bin/Release/*.nupkg --api-key ${{ secrets.GITHUB_TOKEN }}
run: dotnet nuget push ./src/Parsec/bin/Release/*.nupkg --api-key "$NUGET_API_KEY"
2 changes: 1 addition & 1 deletion src/Parsec/Parsec.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<LangVersion>10</LangVersion>
<Platforms>AnyCPU;x86</Platforms>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.0.1</Version>
<Version>1.0.0</Version>
<Authors>Matias Ramirez</Authors>
<Copyright>Matias Ramirez 2022</Copyright>
<PackageProjectUrl>https://github.com/matigramirez/Parsec</PackageProjectUrl>
Expand Down

0 comments on commit db1fbdc

Please sign in to comment.