Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Updated packages and added package publish to pipeline. (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgernand authored May 5, 2022
1 parent 388f3be commit 0adda0e
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
[![Build Status](https://dev.azure.com/fluxera/Foundation/_apis/build/status/GitHub/fluxera.Fluxera.Temporal?branchName=main)](https://dev.azure.com/fluxera/Foundation/_build/latest?definitionId=71&branchName=main)

# Fluxera.Temporal
A libary that provides temporal types.
32 changes: 30 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,33 @@ stages:
displayName: 'Publish Package Artifacts'
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'drop'
publishLocation: 'Container'
ArtifactName: 'packages'
publishLocation: 'Container'

- stage: PublishPackages
dependsOn: BuildAndTest
# Only publish packages for main branch.
condition: and(succeeded('BuildAndTest'), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
jobs:
- job: PublishPackages
pool:
name: Default
steps:
# Download the created packages.
- task: DownloadBuildArtifacts@0
displayName: 'Download NuGet Packges'
inputs:
buildType: 'current'
downloadType: 'single'
artifactName: 'packages'
downloadPath: '$(System.ArtifactsDirectory)'
# Publish the NuGet packages to the package feed.
- task: DotNetCoreCLI@2
displayName: Push Nuget Package
inputs:
command: custom
custom: nuget
arguments: >
push $(System.ArtifactsDirectory)/**/*.nupkg
-s https://api.nuget.org/v3/index.json
-k $(NuGetApiKey)
4 changes: 2 additions & 2 deletions src/Fluxera.Temporal.MongoDB/Fluxera.Temporal.MongoDB.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Fluxera.Utilities" Version="6.0.14" />
<PackageReference Include="Fluxera.Utilities" Version="6.0.16" />
<PackageReference Include="GitVersion.MsBuild" Version="5.10.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="JetBrains.Annotations" Version="2022.1.0" />
<PackageReference Include="MongoDB.Driver" Version="2.15.0" />
<PackageReference Include="MongoDB.Driver" Version="2.15.1" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/Fluxera.Temporal/Fluxera.Temporal.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Fluxera.ComponentModel.Annotations" Version="6.0.8" />
<PackageReference Include="Fluxera.Guards" Version="6.0.13" />
<PackageReference Include="Fluxera.ComponentModel.Annotations" Version="6.0.9" />
<PackageReference Include="Fluxera.Guards" Version="6.0.22" />
<PackageReference Include="GitVersion.MsBuild" Version="5.10.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down

0 comments on commit 0adda0e

Please sign in to comment.