Skip to content

Commit 25bf74b

Browse files
committed
Merge branch 'master' into dev
2 parents 77b8de6 + bf51129 commit 25bf74b

1 file changed

Lines changed: 2 additions & 19 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: psgraph-publish
33
on:
44
release:
55
types: [published]
6-
6+
77
workflow_dispatch:
88

99
jobs:
@@ -93,29 +93,12 @@ jobs:
9393
shell: pwsh
9494
run: |
9595
Invoke-Pester -Path ./PsGraph.Pester.Tests/
96-
97-
- name: dotnet publish
98-
run: dotnet publish -o "./PSQuickGraph"
9996
100-
- name: dotnet publish PowerShell module
101-
run: |
102-
if [ "${{ github.event.release.prerelease }}" = "true" ]; then
103-
dotnet publish -c Debug -o "./PSQuickGraph"
104-
else
105-
dotnet publish -c Release -o "./PSQuickGraph"
106-
fi
107-
108-
- name: Publish PowerShell module to PSGallery
109-
shell: pwsh
97+
- name: psgallery publish
11098
run: |
11199
Publish-Module -Path "./PSQuickGraph" -NuGetApiKey ${{ secrets.PS_GALLERY_SECRET }}
112100
113101
# --- NuGet Common Package Build/Publish ---
114-
- name: Set Version Suffix for Pre-release (Common)
115-
if: github.event.release.prerelease == true
116-
run: |
117-
echo "VERSION_SUFFIX=${{ steps.set_version.outputs.prerelease }}" >> $GITHUB_ENV
118-
119102
- name: Build PSGraph.Common (Debug on prerelease, Release on release)
120103
run: |
121104
if [ "${{ github.event.release.prerelease }}" = "true" ]; then

0 commit comments

Comments
 (0)