Skip to content

Testar med env heller enn with #6

Testar med env heller enn with

Testar med env heller enn with #6

Workflow file for this run

name: config-cache
on:
workflow_dispatch:
push:
branches:
- EY-4287_framleis-encryptionkey-kroell
permissions:
contents: write
id-token: write
jobs:
test-gradle-cache:
runs-on: ubuntu-latest-8-cores
timeout-minutes: 10
permissions:
contents: write
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Test printing your secret (Remove this step in production)
run: cat ${{ secrets.gradlekey }}
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
env:
cache-encryption-key: ${{ secrets.gradlekey }}
with:
# cache-encryption-key: ${{ secrets.gradlekey }}
dependency-graph: generate-and-submit
cache-read-only: false
- name: Gradle test and build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew :apps:etterlatte-migrering:build