Skip to content

Commit

Permalink
Update package references in build process
Browse files Browse the repository at this point in the history
The build process for the project EfficientDynamoDb.Credentials.AWSSDK has been updated to remove a local reference and add a pre-release package. The dotnet commands for this process were added under the "Nuget publish" run in the GitHub Actions workflow file.
  • Loading branch information
devtekve committed May 11, 2024
1 parent 7310f23 commit 271a498
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_creds_aws_sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
run: dotnet build src/EfficientDynamoDb.Credentials.AWSSDK/EfficientDynamoDb.Credentials.AWSSDK.csproj --configuration Release --no-restore
- name: Nuget publish
run: |
dotnet remove EfficientDynamoDb.Credentials.AWSSDK.csproj reference "..\EfficientDynamoDb\EfficientDynamoDb.csproj"
dotnet add package DevTekVE.EfficientDynamoDb --prerelease
dotnet pack -p:PackageId=DevTekVE.EfficientDynamoDb.Credentials.AWSSDK -p:Description="This is a fork for own development. Use at your own Risk. No guarantees are made." --no-build -c Release src/EfficientDynamoDb.Credentials.AWSSDK/EfficientDynamoDb.Credentials.AWSSDK.csproj -o .
dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate

0 comments on commit 271a498

Please sign in to comment.