Commit 0cb6c5eb authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Améliore l'installation de please et l'utilisation du cache en CI.

No related merge requests found
Pipeline #11142 failed with stage
in 20 seconds
Showing with 9 additions and 10 deletions
+9 -10
/plz-out
# Please output directory
plz-out
/.plz-cache
......@@ -2,17 +2,15 @@ build:
tags: [docker]
image: busybox:glibc
before_script:
- mkdir -p /usr/local/bin
- wget https://github.com/thought-machine/please/releases/download/v14.3.5/please_14.3.5_linux_amd64.tar.gz
- chmod +rx /usr/local/bin/*
- wget https://github.com/thought-machine/please/releases/download/v14.3.5/please_14.3.5_linux_amd64.tar.gz -O - | tar xz -C /bin --strip-components=1
script:
- please build //theme
- cp -av plz-out/gen/reveal.js reveal.js
- please build :theme
- mv plz-out/gen/reveal.js reveal.js
artifacts:
name: reveal.js-$CI_COMMIT_REF_SLUG
paths:
- reveal.js/
cache:
key: "$CI_COMMIT_REF_NAME"
key: "plz-cache-$CI_COMMIT_REF_SLUG"
paths:
- plz-out
- .plz-cache
[please]
version = 14.3.5
[cache]
dir=.plz-cache
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment