diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 33d3afd..d6fa2a7 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -32,6 +32,11 @@ jobs: ~/.vaadin ~/.pnpm-store key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml', '**/package.json') }} + - name: Set TB License + run: | + TB_LICENSE=${{secrets.TB_LICENSE}} + mkdir -p ~/.vaadin/ + echo '{"username":"'`echo $TB_LICENSE | cut -d / -f1`'","proKey":"'`echo $TB_LICENSE | cut -d / -f2`'"}' > ~/.vaadin/proKey - name: Build with Gradle run: ./gradlew clean build '-Pvaadin.productionMode' --stacktrace --info --no-daemon