version bumb 064 #129
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: Starsky Codecov ClientApp NetCore | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- 'starsky/**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout repository on branch: ${{ github.REF }}' | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.HEAD_REF }} | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.404 | |
- name: Cache node modules clientapp (*nix) | |
uses: actions/cache@v4 | |
with: | |
# npm cache files are stored in `~/.npm` on Linux/macOS | |
path: ~/.npm | |
key: ${{ runner.os }}-build-clientapp-${{ hashFiles('./starsky/starsky/clientapp/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-build-clientapp- | |
- name: Cache nuget packages (*nix) | |
uses: actions/cache@v4 | |
with: | |
# nuget cache files are stored in `~/.nuget/packages` on Linux/macOS | |
path: ~/.nuget/packages | |
key: ${{ runner.os }}-build-netcore-${{ hashFiles('./starsky/starsky/nuget-packages-list.json') }} | |
restore-keys: | | |
${{ runner.os }}-build-netcore- | |
- name: Build | |
shell: bash | |
working-directory: ./starsky | |
run: bash build.sh --no-publish --no-dependencies --no-sonar | |
- uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./starsky/starskytest/coverage-merge-cobertura.xml | |
flags: all # flags must match pattern ^[\w\,]+$ | |
name: codecov # optional |