-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-enable nuget/setup-nuget on release push for winforms
- Loading branch information
Showing
1 changed file
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -119,10 +119,10 @@ jobs: | |
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/avalonia-preview' || github.ref == 'refs/heads/versions/2.x' | ||
steps: | ||
- uses: actions/[email protected] | ||
# - uses: nuget/setup-nuget@v2 | ||
# with: | ||
# nuget-api-key: ${{secrets.NUGET_API_KEY}} | ||
# nuget-version: '5.x' | ||
- uses: nuget/setup-nuget@v2 | ||
with: | ||
nuget-api-key: ${{secrets.NUGET_API_KEY}} | ||
nuget-version: '5.x' | ||
|
||
- name: Add MSBuild to PATH | ||
uses: microsoft/[email protected] | ||
|
@@ -135,7 +135,7 @@ jobs: | |
7.0.x | ||
8.0.x | ||
9.0.x | ||
- name: Publish NetSparkleUpdater.SparkleUpdater on version change | ||
uses: nitz/publish-nuget@60fd3adf9d9eecc3bbf8a98738734d3061347172 | ||
with: | ||
|
@@ -212,11 +212,14 @@ jobs: | |
copy ${{ github.workspace }}/README.md ${{ github.workspace }}/nuget\winformsnetframework\README.md | ||
copy ${{ github.workspace }}/src\NetSparkle\ArtWork\software-update-available.png ${{ github.workspace }}/nuget\winformsnetframework\software-update-available.png | ||
# uncomment this and add it to following run if nuget/setup-nuget breaks on windows-latest | ||
# nuget setApiKey ${{secrets.NUGET_API_KEY}} | ||
|
||
- name: Publish NetSparkleUpdater.UI.WinForms.NetFramework | ||
run: | | ||
cd ${{ github.workspace }}/nuget/winformsnetframework | ||
nuget pack NetSparkleUpdater.UI.WinForms.NetFramework.nuspec -verbosity detailed -Symbols -SymbolPackageFormat snupkg | ||
nuget push *.nupkg -Source https://www.nuget.org/api/v2/package -SkipDuplicate -verbosity detailed | ||
nuget push *.nupkg -Source https://api.nuget.org/v3/index.json -SkipDuplicate -verbosity detailed | ||
cd ${{ github.workspace }} | ||
- name: Publish NetSparkleUpdater.Tools.DSAHelper | ||
|