Merge pull request #1584 from qdraw/feature/auto_dotnet_sdk_version_u… #67
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MacOS Webapp .NET only build | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- 'starsky/**' | |
- '!starsky/starsky/clientapp/**' | |
workflow_dispatch: | |
pull_request: | |
branches: [ master ] | |
paths: | |
- 'starsky/**' | |
- '!starsky/starsky/clientapp/**' | |
- '.github/workflows/**' | |
- '!starsky/Dockerfile' | |
- '!starsky/docker_demo_setup.sh' | |
jobs: | |
build: | |
runs-on: macos-latest | |
env: | |
WEBSITE_SITE_NAME: "ci" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.300 | |
- name: "BuildNetCore (MacOS)" | |
shell: bash | |
working-directory: ./starsky | |
run: bash build.sh --Target BuildNetCore --no-sonar --no-publish --no-dependencies --skip --no-logo | |
- name: "TestNetCore (MacOS)" | |
shell: bash | |
working-directory: ./starsky | |
run: bash build.sh --Target TestNetCore --skip --no-logo --no-publish |