Skip to content

Commit

Permalink
added push
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris committed Mar 12, 2024
1 parent 7b50a87 commit 7340b44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
- name: 'Run: Pack'
run: ./build.cmd Pack
- name: 'Run: Pack, Push'
run: ./build.cmd Pack Push
env:
NugetApiKey: ${{ secrets.NUGET_API_KEY }}
- name: 'Publish: artifacts'
Expand Down
3 changes: 1 addition & 2 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
"publish",
GitHubActionsImage.UbuntuLatest,
On = [GitHubActionsTrigger.WorkflowDispatch],
// InvokedTargets = [nameof(Pack), nameof(Push)],
InvokedTargets = [nameof(Pack)],
InvokedTargets = [nameof(Pack), nameof(Push)],
ImportSecrets = [nameof(NugetApiKey)],
FetchDepth = 0
)]
Expand Down

0 comments on commit 7340b44

Please sign in to comment.