mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
39 lines
No EOL
1.2 KiB
YAML
39 lines
No EOL
1.2 KiB
YAML
name: Build PepperDash Essentials
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '**'
|
|
|
|
jobs:
|
|
# runTests:
|
|
# uses: PepperDash/workflow-templates/.github/workflows/essentialsplugins-tests.yml@main
|
|
# secrets: inherit
|
|
runTests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-dotnet@v5
|
|
with:
|
|
dotnet-version: 9.0.x
|
|
- name: Restore dependencies
|
|
working-directory: .
|
|
run: dotnet restore
|
|
- name: Test
|
|
working-directory: .
|
|
run: dotnet test --verbosity normal --no-restore --collect:"xplat code coverage"
|
|
getVersion:
|
|
uses: PepperDash/workflow-templates/.github/workflows/essentialsplugins-getversion.yml@main
|
|
secrets: inherit
|
|
needs: runTests
|
|
build-4Series:
|
|
uses: PepperDash/workflow-templates/.github/workflows/essentialsplugins-4Series-builds.yml@main
|
|
secrets: inherit
|
|
needs: getVersion
|
|
if: needs.getVersion.outputs.newVersion == 'true'
|
|
with:
|
|
newVersion: ${{ needs.getVersion.outputs.newVersion }}
|
|
version: ${{ needs.getVersion.outputs.version }}
|
|
tag: ${{ needs.getVersion.outputs.tag }}
|
|
channel: ${{ needs.getVersion.outputs.channel }}
|
|
bypassPackageCheck: true |