diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 27e2b16..99aec73 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,10 +28,6 @@ jobs: - name: Use Nerdbank.GitVersioning to get version run: nbgv get-version - - name: Set version environment variables - id: nbgv - run: echo "##[set-env name=VERSION]$(nbgv get-version -v)" - - name: Restore dependencies run: dotnet restore @@ -42,22 +38,22 @@ jobs: run: dotnet test --no-build --verbosity normal --configuration Release - name: Pack Papst.EventStore project - run: dotnet pack src/Papst.EventStore/Papst.EventStore.csproj --no-build --configuration Release --output ./artifacts /p:Version=${{ env.VERSION }} + run: dotnet pack src/Papst.EventStore/Papst.EventStore.csproj --no-build --configuration Release --output ./artifacts - name: Pack Papst.EventStore project - run: dotnet pack src/Papst.EventStore.Aggregation.EventRegistration/Papst.EventStore.Aggregation.EventRegistration.csproj --no-build --configuration Release --output ./artifacts /p:Version=${{ env.VERSION }} + run: dotnet pack src/Papst.EventStore.Aggregation.EventRegistration/Papst.EventStore.Aggregation.EventRegistration.csproj --no-build --configuration Release --output ./artifacts - name: Pack Papst.EventStore project - run: dotnet pack src/Papst.EventStore.CodeGeneration/Papst.EventStore.CodeGeneration.csproj --no-build --configuration Release --output ./artifacts /p:Version=${{ env.VERSION }} + run: dotnet pack src/Papst.EventStore.CodeGeneration/Papst.EventStore.CodeGeneration.csproj --no-build --configuration Release --output ./artifacts - name: Pack Papst.EventStore project - run: dotnet pack src/Papst.EventStore.AzureCosmos/Papst.EventStore.AzureCosmos.csproj --no-build --configuration Release --output ./artifacts /p:Version=${{ env.VERSION }} + run: dotnet pack src/Papst.EventStore.AzureCosmos/Papst.EventStore.AzureCosmos.csproj --no-build --configuration Release --output ./artifacts - name: Pack Papst.EventStore project - run: dotnet pack src/Papst.EventStore.EntityFrameworkCore/Papst.EventStore.EntityFrameworkCore.csproj --no-build --configuration Release --output ./artifacts /p:Version=${{ env.VERSION }} + run: dotnet pack src/Papst.EventStore.EntityFrameworkCore/Papst.EventStore.EntityFrameworkCore.csproj --no-build --configuration Release --output ./artifacts - name: Pack Papst.EventStore project - run: dotnet pack src/Papst.EventStore.FileSystem/Papst.EventStore.FileSystem.csproj --no-build --configuration Release --output ./artifacts /p:Version=${{ env.VERSION }} + run: dotnet pack src/Papst.EventStore.FileSystem/Papst.EventStore.FileSystem.csproj --no-build --configuration Release --output ./artifacts - name: List results run: ls ./artifacts