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:
parent
72f2d856f3
commit
2fa62e9173
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user