File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ permissions:
88 contents : write
99 pull-requests : write
1010 packages : write
11- statuses : write
12-
11+ statuses : write
12+
1313jobs :
1414 set-config :
1515 uses : Stillpoint-Software/shared-workflows/.github/workflows/determine_build_configuration.yml@main
@@ -18,17 +18,26 @@ jobs:
1818 target_branch : ${{ github.event.release.target_commitish }}
1919 override_build_configuration : ' '
2020 prerelease : ${{ github.event.release.prerelease }} # true/false from the release
21-
22- publish :
21+
22+ tests :
2323 needs : set-config
24+ uses : Stillpoint-Software/shared-workflows/.github/workflows/run_tests.yml@main
25+ with :
26+ branch : ${{ github.event.release.target_commitish }}
27+ solution_name : ${{ vars.SOLUTION_NAME }}
28+
29+ publish :
30+ needs : [set-config, tests]
2431 uses : Stillpoint-Software/shared-workflows/.github/workflows/pack_and_publish.yml@main
2532 with :
2633 build_configuration : ${{ needs.set-config.outputs.build_configuration }}
2734 secrets :
2835 NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
36+
2937 result :
30- needs : [publish]
38+ needs : [publish, tests ]
3139 if : always()
3240 runs-on : ubuntu-latest
3341 steps :
42+ - run : echo "Tests result = ${{ needs.tests.result }}"
3443 - run : echo "Pack & Publish result = ${{ needs.publish.result }}"
You can’t perform that action at this time.
0 commit comments