Skip to content

v3.4.1-g92b5ef059f

v3.4.1-g92b5ef059f #7

Workflow file for this run

name: Pack and Publish
on:
release:
types: [published]
permissions:
contents: write
pull-requests: write
packages: write
statuses: write
jobs:
set-config:
uses: Stillpoint-Software/shared-workflows/.github/workflows/determine_build_configuration.yml@main
with:
trigger: release
target_branch: ${{ github.event.release.target_commitish }}
override_build_configuration: ''
prerelease: ${{ github.event.release.prerelease }} # true/false from the release
tests:
needs: set-config
uses: Stillpoint-Software/shared-workflows/.github/workflows/run_tests.yml@main
with:
branch: ${{ github.event.release.target_commitish }}
solution_name: ${{ vars.SOLUTION_NAME }}
publish:
needs: [set-config, tests]
uses: Stillpoint-Software/shared-workflows/.github/workflows/pack_and_publish.yml@main
with:
build_configuration: ${{ needs.set-config.outputs.build_configuration }}
secrets:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
result:
needs: [publish, tests]
if: always()
runs-on: ubuntu-latest
steps:
- run: echo "Tests result = ${{ needs.tests.result }}"
- run: echo "Pack & Publish result = ${{ needs.publish.result }}"