Skip to content

Commit

Permalink
👷 Bruk setup-gradle i stedet for gradle-build-action
Browse files Browse the repository at this point in the history
Den har innebygget cache, som de anbefaler å bruke i stedet for å la
setup-java stå for cachingen.
  • Loading branch information
havstein committed Jun 17, 2024
1 parent a12ce49 commit 39c04fc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/spoogle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21.x'
cache: 'gradle'
distribution: temurin
java-version: 21

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Test og bygg
uses: gradle/gradle-build-action@v2
with:
arguments: :spoogle-frontend:build :spoogle-backend:test :spoogle-backend:build
run: ./gradlew :spoogle-frontend:build :spoogle-backend:build
env:
ORG_GRADLE_PROJECT_githubUser: x-access-token
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 39c04fc

Please sign in to comment.