From de27032333d195c75841f9058f7d5b5aaf7b97b5 Mon Sep 17 00:00:00 2001 From: Jakob Havstein Eriksen Date: Sat, 13 Apr 2024 21:48:22 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BD=EF=B8=8F=20arguments=20er=20=20dep?= =?UTF-8?q?recated=20i=20setup-gradle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/codeql.yml | 7 ++++--- .github/workflows/pr.yml | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f285f949f..fe812aa3e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -33,10 +33,11 @@ jobs: distribution: temurin java-version: 21 - - name: Gradle build + - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 - with: - arguments: :spesialist-selve:build --no-build-cache # felles- og api-modulene bygges fordi selve avhenger av dem + + - name: Gradle build + run: ./gradlew :spesialist-selve:build --no-build-cache # felles- og api-modulene bygges fordi selve avhenger av dem env: ORG_GRADLE_PROJECT_githubUser: x-access-token ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index e9508fa53..85059330c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -13,10 +13,11 @@ jobs: distribution: temurin java-version: 21 - - name: Gradle build + - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 - with: - arguments: build + + - name: Bygg koden + run: ./gradlew build env: ORG_GRADLE_PROJECT_githubUser: x-access-token ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}