Skip to content

Commit

Permalink
👽️ arguments er deprecated i setup-gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
havstein committed Apr 13, 2024
1 parent a26a630 commit de27032
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit de27032

Please sign in to comment.