Merge pull request 'added pr check' (#1) from changes into main
All checks were successful
Render diagram / Render-Main (push) Successful in 25s
All checks were successful
Render diagram / Render-Main (push) Successful in 25s
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
18
.gitea/workflows/checkPullRequest.yaml
Normal file
18
.gitea/workflows/checkPullRequest.yaml
Normal 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
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
name: Gitea Actions Demo
|
name: Render diagram
|
||||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
|||||||
Reference in New Issue
Block a user