1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-25 20:11:18 +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
distribution: temurin
cache: gradle
- name: Set version from tag
- name: Set version in gradle.properties
if: env.POM_VERSION
env:
POM_VERSION: ${{ needs.workflow_config.outputs.pom_version }}
run: |
sed -i "s/version = .*/version = $POM_VERSION/" gradle.properties
cat gradle.properties
- name: Build artifacts
- name: Generate artifacts
run: |
gradle clean build \
pdfJar \
@ -156,6 +156,7 @@ jobs:
path: |
build/libs
build/publications
plantuml-mit/build/libs
key: "libs-${{ github.run_id }}"
enableCrossOsArchive: true
@ -182,6 +183,7 @@ jobs:
path: |
build/libs
build/publications
plantuml-mit/build/libs
key: "libs-${{ github.run_id }}"
fail-on-cache-miss: true
enableCrossOsArchive: true