From e6b6d5f1e75410286027c62cd12e33f46a04ec97 Mon Sep 17 00:00:00 2001 From: Jorge Bornhausen Date: Tue, 26 Nov 2024 13:26:11 +0100 Subject: [PATCH] ci(github-actions): use only .github/ for consistency, replace host secrets with vars --- {.gitea => .github}/CODEOWNERS | 0 {.gitea => .github}/workflows/build.yml | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename {.gitea => .github}/CODEOWNERS (100%) rename {.gitea => .github}/workflows/build.yml (94%) diff --git a/.gitea/CODEOWNERS b/.github/CODEOWNERS similarity index 100% rename from .gitea/CODEOWNERS rename to .github/CODEOWNERS diff --git a/.gitea/workflows/build.yml b/.github/workflows/build.yml similarity index 94% rename from .gitea/workflows/build.yml rename to .github/workflows/build.yml index 6a43f67..5ea1c24 100644 --- a/.gitea/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,9 +43,9 @@ jobs: if: vars.SONAR_ENABLED == 'true' env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} + SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }} run: ./mvnw org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=quarkus-commons -Dsonar.projectName='quarkus-commons' -Dsonar.coverage.jacoco.xmlReportPaths=../**/target/jacoco-report/jacoco.xml - name: Upload libs to Gitea Maven Registry - if: gitea.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' run: ./mvnw deploy -Dmaven.test.skip=true -Dmaven.javadoc.skip=true \ No newline at end of file