language idea #334
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.403 | |
- name: "BuildNetCore (MacOS)" | |
shell: bash | |
working-directory: ./starsky | |
run: bash build.sh --Target BuildNetCore --no-sonar --no-publish --no-dependencies --no-logo | |
- name: "TestNetCore (MacOS)" | |
shell: bash | |
working-directory: ./starsky | |
run: bash build.sh --Target TestNetCore --no-logo --no-publish |