added pr check #1

Merged
Elizhium merged 1 commits from changes into main 2024-06-21 21:51:57 +02:00
2 changed files with 19 additions and 2 deletions
Showing only changes of commit 8eceb97c0f - Show all commits

View File

@@ -0,0 +1,18 @@
name: check PR
on:
pull_request:
types:[opened, reopened, edited]
jobs:
check_render:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- 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; 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

View File

@@ -1,5 +1,4 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
name: Render diagram
on:
push:
branches: