From f92ba70949eaccd5c914a603c4b5c6578192870a Mon Sep 17 00:00:00 2001
From: Glenn <5834289+glennawatson@users.noreply.github.com>
Date: Sat, 29 May 2021 19:35:42 +1000
Subject: [PATCH] housekeeping: Add pack action (#46)
---
.github/workflows/ci-build.yml | 4 ++++
.../ReactiveMarbles.ObservableEvents.SourceGenerator.csproj | 3 +--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index 2b1b958..e3beaf1 100644
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -61,6 +61,10 @@ jobs:
output: '../../artifacts/'
configuration: ${{ env.configuration }}
+ - name: Pack
+ run: dotnet pack --configuration=${{ env.configuration }} --verbosity=minimal --no-restore
+ working-directory: src
+
- name: Upload Code Coverage
shell: bash
run: |
diff --git a/src/ReactiveMarbles.ObservableEvents.SourceGenerator/ReactiveMarbles.ObservableEvents.SourceGenerator.csproj b/src/ReactiveMarbles.ObservableEvents.SourceGenerator/ReactiveMarbles.ObservableEvents.SourceGenerator.csproj
index 722c5dc..fecd8aa 100644
--- a/src/ReactiveMarbles.ObservableEvents.SourceGenerator/ReactiveMarbles.ObservableEvents.SourceGenerator.csproj
+++ b/src/ReactiveMarbles.ObservableEvents.SourceGenerator/ReactiveMarbles.ObservableEvents.SourceGenerator.csproj
@@ -3,8 +3,7 @@
netstandard2.0
enable
- preview
- true
+ latest