Skip to content

Commit 6aaf821

Browse files
Update main.yml
1 parent 37e036c commit 6aaf821

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
defaults:
1313
run:
1414
working-directory: .
15+
outputs:
16+
semver: ${{ steps.gitversion.outputs.semver }}
17+
sourcegrid: ${{ steps.packageBuildResults.outputs.sourcegrid }}
18+
nupkg-sourcegrid: ${{ steps.createNupkg.outputs.nupkg-sourcegrid }}
19+
1520

1621
steps:
1722
- name: Checkout
@@ -66,12 +71,12 @@ jobs:
6671
id: createNupkg
6772
run: |
6873
nuget pack SourceGrid.nuspec -Version 1.0.0
69-
Write-Host "::set-output name=nupkg-TEST::TEST.1.0.0.nupkg"
74+
Write-Host "::set-output name=nupkg-sourcegrid::TEST.1.0.0.nupkg"
7075
7176
- name: Archive NuGet Packages
7277
uses: actions/upload-artifact@v2
7378
with:
74-
name: nuget-TEST
79+
name: sourcegrid-TEST
7580
path: |
7681
*.nupkg
7782
@@ -118,6 +123,7 @@ jobs:
118123
asset_path: ./${{ needs.build.outputs.sourcegrid }}
119124
asset_name: ${{ needs.build.outputs.sourcegrid }}
120125
asset_content_type: application/zip
126+
continue-on-error: true
121127

122128
- name: Upload Nupkg
123129
uses: actions/upload-release-asset@v1
@@ -126,7 +132,8 @@ jobs:
126132
with:
127133
upload_url: ${{ steps.create_release.outputs.upload_url }}
128134
asset_path: ./${{ needs.build.outputs.nupkg-sourcegrid }}
129-
asset_name: ${{ needs.build.outputs.nupkg-nuget-TEST }}
135+
asset_name: ${{ needs.build.outputs.nupkg-sourcegrid-TEST }}
130136
asset_content_type: application/zip
137+
continue-on-error: true
131138

132139

0 commit comments

Comments
 (0)