Skip to content

Commit

Permalink
Updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
theandrunique committed Feb 11, 2024
1 parent 138648f commit fdcb9ef
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 14 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/push-providers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
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}}
1 change: 0 additions & 1 deletion UniqModel.SqlServer/version.md

This file was deleted.

1 change: 0 additions & 1 deletion UniqModel.Sqlite/version.md

This file was deleted.

1 change: 0 additions & 1 deletion version.md

This file was deleted.

0 comments on commit fdcb9ef

Please sign in to comment.