This commit is contained in:
2024-11-27 19:20:16 +01:00
parent 302e0f64a2
commit a6bae9dc80
8 changed files with 23 additions and 16 deletions

View File

@@ -26,8 +26,6 @@ jobs:
- uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install project
run: make install
- name: Run linter
run: make lint
@@ -44,8 +42,6 @@ jobs:
- uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install project
run: make install
- name: Run tests
run: make test

View File

@@ -16,7 +16,7 @@ jobs:
fetch-depth: 0
ref: ${{ gitea.head_ref }}
- run: echo "REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
- run: echo "REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_')" >> $GITHUB_ENV
shell: bash
- run: echo "REPOSITORY_URLNAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}')" >> $GITHUB_ENV

View File

@@ -10,7 +10,7 @@ jobs:
sonarqube:
name: SonarQube Trigger
runs-on: ubuntu-latest
if: ${{ !endsWith (github.repository, 'Templates/Dotnet_Executable') }}
if: ${{ !contains ('project_name', format('{0}_{1}', 'project', 'name')) }}
steps:
- name: Checking out
uses: actions/checkout@v4