-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 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 |
---|---|---|
|
@@ -33,19 +33,19 @@ jobs: | |
run: dotnet pack BedrockFramework.sln -c Release --no-build --include-source --include-symbols | ||
|
||
- name: setup nuget | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
uses: NuGet/[email protected] | ||
with: | ||
nuget-version: latest | ||
|
||
- name: Set API key | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
run: nuget setapikey ${{ secrets.FEEDZ_TOKEN }} -Config nuget.config -Source https://f.feedz.io/davidfowl/bedrockframework/nuget/index.json | ||
|
||
- name: Set symbols API key | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
run: nuget setapikey ${{ secrets.FEEDZ_TOKEN }} -Config nuget.config -Source https://f.feedz.io/davidfowl/bedrockframework/symbols | ||
|
||
- name: push packages | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
run: dotnet nuget push **/*.nupkg -s https://f.feedz.io/davidfowl/bedrockframework/nuget/index.json -ss https://f.feedz.io/davidfowl/bedrockframework/symbols --skip-duplicate |