diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 455d8b9..24466c6 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -1,6 +1,3 @@ -# 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: Tests and publish on: @@ -22,10 +19,6 @@ jobs: dotnet-version: 6.0.x - name: Restore dependencies run: dotnet restore - - - name: Set version from version.md - id: set_version - run: echo "VersionPrefix=$(cat version.md)" >> $GITHUB_ENV - name: Build run: dotnet build -c Release --no-restore diff --git a/.github/workflows/push-providers.yml b/.github/workflows/push-providers.yml index 653af29..687fea2 100644 --- a/.github/workflows/push-providers.yml +++ b/.github/workflows/push-providers.yml @@ -21,7 +21,4 @@ jobs: run: dotnet test UniqModel.Tests/UniqModel.Tests.csproj -c Release --verbosity normal - name: Publish the packages run: | - echo "VersionPrefix=$(cat UniqModel.SqlServer/version.md)" >> $GITHUB_ENV - dotnet nuget push UniqModel.SqlServer/bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} - echo "VersionPrefix=$(cat UniqModel.Sqlite/version.md)" >> $GITHUB_ENV - dotnet nuget push UniqModel.Sqlite/bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} \ No newline at end of file + dotnet nuget push UniqModel.SqlServer/bin/Release/*.nupkg UniqModel.Sqlite/bin/Release/*.nupkg UniqModel.MySql/bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} \ No newline at end of file diff --git a/UniqModel.SqlServer/version.md b/UniqModel.SqlServer/version.md deleted file mode 100644 index 6c6aa7c..0000000 --- a/UniqModel.SqlServer/version.md +++ /dev/null @@ -1 +0,0 @@ -0.1.0 \ No newline at end of file diff --git a/UniqModel.Sqlite/version.md b/UniqModel.Sqlite/version.md deleted file mode 100644 index 6c6aa7c..0000000 --- a/UniqModel.Sqlite/version.md +++ /dev/null @@ -1 +0,0 @@ -0.1.0 \ No newline at end of file diff --git a/version.md b/version.md deleted file mode 100644 index 6da28dd..0000000 --- a/version.md +++ /dev/null @@ -1 +0,0 @@ -0.1.1 \ No newline at end of file