This commit is contained in:
@@ -14,12 +14,20 @@ jobs:
|
||||
- name: Download renderer
|
||||
run: wget https://github.com/plantuml/plantuml/releases/download/v1.2024.5/plantuml-1.2024.5.jar
|
||||
- name: Download java
|
||||
run: wget https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jre_x64_linux_hotspot_21.0.3_9.tar.gz
|
||||
- run: tar -xvzf OpenJDK21U-jre_x64_linux_hotspot_21.0.3_9.tar.gz
|
||||
run: wget https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jre_x64_linux_hotspot_21.0.3_9.tar.gz; tar -xvzf OpenJDK21U-jre_x64_linux_hotspot_21.0.3_9.tar.gz
|
||||
- name: install graphviz
|
||||
run: sudo add-apt-repository universe; sudo apt update; apt install graphviz -y
|
||||
- name: render
|
||||
run: ./jdk-21.0.3+9-jre/bin/java -jar plantuml-1.2024.5.jar polycule.puml
|
||||
- name: upload to cdn
|
||||
uses: appleboy/scp-action@v0.1.7
|
||||
with:
|
||||
host: bruynooghe.dev
|
||||
username: elizhium
|
||||
password: ${{ secrets.ELIZHIUMPW }}
|
||||
port: 22
|
||||
source: "polycule.png, polycule.puml"
|
||||
target: "/home/elizhium/CDN"
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: polycule.png
|
||||
|
||||
Reference in New Issue
Block a user