From 69aef8fe227b7ad489d7d4969a1a1656e9940408 Mon Sep 17 00:00:00 2001 From: Henning Solberg Date: Wed, 24 Jan 2024 16:18:50 +0100 Subject: [PATCH 1/2] =?UTF-8?q?reverter=20autobuild,=20pga=20problemer=20m?= =?UTF-8?q?ed=20=C3=A5=20f=C3=A5=20tak=20i=20deps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/codeql.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 26771f6e..9029b8f5 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -61,8 +61,17 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v3 + - name: Sett opp java + uses: actions/setup-java@v4 + with: + java-version: 21 + distribution: 'temurin' + cache: 'maven' + - name: Bygg med maven + env: + GITHUB_USERNAME: x-access-token + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: mvn -B --no-transfer-progress package --settings .m2/maven-settings.xml -DtrimStackTrace=false --file pom.xml -Dchangelist= -Dsha1=-$TIMESTAMP-$(echo $GITHUB_SHA | cut -c1-7) # ℹ️ Command-line programs to run using the OS shell. From 938503249cffe25c0bbb6f2b509f3bbb66b5d9cd Mon Sep 17 00:00:00 2001 From: Henning Solberg Date: Thu, 25 Jan 2024 07:34:44 +0100 Subject: [PATCH 2/2] forenkler maven bygg --- .github/workflows/codeql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 9029b8f5..91cd4d6f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -71,7 +71,7 @@ jobs: env: GITHUB_USERNAME: x-access-token GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: mvn -B --no-transfer-progress package --settings .m2/maven-settings.xml -DtrimStackTrace=false --file pom.xml -Dchangelist= -Dsha1=-$TIMESTAMP-$(echo $GITHUB_SHA | cut -c1-7) + run: mvn -B --no-transfer-progress compile --settings .m2/maven-settings.xml # ℹ️ Command-line programs to run using the OS shell.