1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-25 06:17:33 +00:00

chore: add MIT in cache

This commit is contained in:
Arnaud Roques 2023-05-12 16:12:11 +02:00
parent 72f2d856f3
commit 2fa62e9173

View File

@ -125,14 +125,14 @@ jobs:
java-version: 17 java-version: 17
distribution: temurin distribution: temurin
cache: gradle cache: gradle
- name: Set version from tag - name: Set version in gradle.properties
if: env.POM_VERSION if: env.POM_VERSION
env: env:
POM_VERSION: ${{ needs.workflow_config.outputs.pom_version }} POM_VERSION: ${{ needs.workflow_config.outputs.pom_version }}
run: | run: |
sed -i "s/version = .*/version = $POM_VERSION/" gradle.properties sed -i "s/version = .*/version = $POM_VERSION/" gradle.properties
cat gradle.properties cat gradle.properties
- name: Build artifacts - name: Generate artifacts
run: | run: |
gradle clean build \ gradle clean build \
pdfJar \ pdfJar \
@ -156,6 +156,7 @@ jobs:
path: | path: |
build/libs build/libs
build/publications build/publications
plantuml-mit/build/libs
key: "libs-${{ github.run_id }}" key: "libs-${{ github.run_id }}"
enableCrossOsArchive: true enableCrossOsArchive: true
@ -182,6 +183,7 @@ jobs:
path: | path: |
build/libs build/libs
build/publications build/publications
plantuml-mit/build/libs
key: "libs-${{ github.run_id }}" key: "libs-${{ github.run_id }}"
fail-on-cache-miss: true fail-on-cache-miss: true
enableCrossOsArchive: true enableCrossOsArchive: true