Skip to content

Commit ef85954

Browse files
committed
temp: add push to workflow trigger
1 parent a4d37b6 commit ef85954

File tree

1 file changed

+28
-27
lines changed

1 file changed

+28
-27
lines changed

.github/workflows/release.yml

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
release:
55
types:
66
- published
7+
push:
78

89
env:
910
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
@@ -68,33 +69,33 @@ jobs:
6869
- name: Validate package
6970
run: meziantou.validate-nuget-package (Get-ChildItem "${{ env.NuGetDirectory }}/*.nupkg") --excluded-rule-ids 101,111,74,72,61,12
7071

71-
publish:
72-
runs-on: ubuntu-latest
73-
needs:
74-
- create_nuget
75-
- validate_nuget
76-
steps:
77-
# Download the NuGet package created in the previous job
78-
- uses: actions/download-artifact@v4
79-
with:
80-
name: nuget
81-
path: ${{ env.NuGetDirectory }}
72+
# publish:
73+
# runs-on: ubuntu-latest
74+
# needs:
75+
# - create_nuget
76+
# - validate_nuget
77+
# steps:
78+
# # Download the NuGet package created in the previous job
79+
# - uses: actions/download-artifact@v4
80+
# with:
81+
# name: nuget
82+
# path: ${{ env.NuGetDirectory }}
8283

83-
# Install the .NET SDK indicated in the global.json file
84-
- name: Setup .NET Core
85-
uses: actions/setup-dotnet@v4
86-
with:
87-
dotnet-version: ${{ env.DOTNET_VERSION }}
84+
# # Install the .NET SDK indicated in the global.json file
85+
# - name: Setup .NET Core
86+
# uses: actions/setup-dotnet@v4
87+
# with:
88+
# dotnet-version: ${{ env.DOTNET_VERSION }}
8889

89-
# Publish all NuGet packages to NuGet.org
90-
- name: Publish NuGet package
91-
run: |
92-
foreach($file in (Get-ChildItem "${{ env.NuGetDirectory }}" -Recurse -Include *.nupkg)) {
93-
dotnet nuget push $file --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json
94-
}
90+
# # Publish all NuGet packages to NuGet.org
91+
# - name: Publish NuGet package
92+
# run: |
93+
# foreach($file in (Get-ChildItem "${{ env.NuGetDirectory }}" -Recurse -Include *.nupkg)) {
94+
# dotnet nuget push $file --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json
95+
# }
9596

96-
- name: Upload Release Asset
97-
uses: shogo82148/actions-upload-release-asset@v1
98-
with:
99-
upload_url: ${{ github.event.release.upload_url }}
100-
asset_path: ${{ env.NuGetDirectory }}/*.nupkg
97+
# - name: Upload Release Asset
98+
# uses: shogo82148/actions-upload-release-asset@v1
99+
# with:
100+
# upload_url: ${{ github.event.release.upload_url }}
101+
# asset_path: ${{ env.NuGetDirectory }}/*.nupkg

0 commit comments

Comments
 (0)