We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d2b801 commit 61afc15Copy full SHA for 61afc15
.github/actions/ps-release/action.yml
@@ -66,3 +66,18 @@ runs:
66
Set-StrictMode -Version Latest
67
[void] (Import-Module InvokeBuild)
68
Invoke-Build -NugetApiKey ${{ env.PSGALLERY_API_KEY }} -Task Publish
69
+
70
+ - name: Publish build package to Github Release
71
+ shell: pwsh
72
+ run: |
73
+ Set-StrictMode -Version Latest
74
+ [void] (Import-Module InvokeBuild)
75
+ Invoke-Build -Task Package
76
77
+ - name: Upload build package to Github Release
78
+ uses: actions/upload-release-asset@v1
79
+ with:
80
+ upload_url: ${{ steps.create_release.outputs.upload_url }}
81
+ asset_path: ./build/package/*.nupkg
82
+ asset_name: ${{ github.event.repository.name }}-v${{ inputs.release-version }}.nupkg
83
+ asset_content_type: application/octet-stream
0 commit comments