Skip to content

Commit 9ad7176

Browse files
authored
Merge pull request #11 from AlanCS/feature/ImprovingWorkflow
Updating changelog
2 parents 4a0330e + 5482517 commit 9ad7176

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/pipeline.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ name: Pipeline
33
on:
44
push:
55
branches: [ master ]
6-
paths-ignore:
7-
- '*.md'
6+
paths-ignore:
7+
- '**.md'
88
pull_request:
99
branches: [ master ]
1010
paths-ignore:
11-
- '*.md'
11+
- '**.md'
1212
schedule:
1313
- cron: "0 1 * * *"
1414
release:
15-
types: [published, created, edited]
15+
types: [published]
16+
1617
workflow_dispatch: # manually run
1718
inputs:
1819
reason:
@@ -71,7 +72,7 @@ jobs:
7172
if: ${{ success() }} # run this step even if previous steps failed
7273
uses: actions/upload-artifact@v2
7374
with:
74-
name: Nugget package
75+
name: Nuget package
7576
path: SystemTestingTools*.nupkg
7677
retention-days: 7
7778
if-no-files-found: error
@@ -81,5 +82,9 @@ jobs:
8182
if: github.event_name == 'release'
8283
runs-on: ubuntu-latest
8384
steps:
85+
- name: Download artifact from previous job
86+
uses: actions/download-artifact@v2
87+
with:
88+
name: Nuget package
8489
- name: Push to NuGet Feed
8590
run: dotnet nuget push ./*.nupkg --source $NUGET_FEED --skip-duplicate --api-key $NUGET_KEY

0 commit comments

Comments
 (0)