Skip to content

Commit

Permalink
noissue: export BPMNs as SVGs to target directory
Browse files Browse the repository at this point in the history
  • Loading branch information
david-elsener committed Mar 17, 2024
1 parent 9bb4966 commit 25e2eef
Show file tree
Hide file tree
Showing 15 changed files with 285,504 additions and 1,190 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ contents of this directory with your own code.
There are a few things to keep in mind when writing your action code:

- Most GitHub Actions toolkit and CI/CD operations are processed asynchronously.
In `main.js`, you will see that the action is run in an `async` function.
In `bpmn-diagram-exporter.js`, you will see that the action is run in an
`async` function.

```javascript
const core = require('@actions/core')
Expand Down
18 changes: 0 additions & 18 deletions __tests__/index.test.js

This file was deleted.

96 changes: 0 additions & 96 deletions __tests__/main.test.js

This file was deleted.

24 changes: 0 additions & 24 deletions __tests__/wait.test.js

This file was deleted.

23 changes: 11 additions & 12 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
name: 'The name of your action here'
description: 'Provide a description here'
author: 'Your name or organization here'
name: 'BPMN Exporter'
description: 'Export BPMN-models as SVG to a target directory'
author: 'SRF INTE'

# Define your inputs here.
inputs:
milliseconds:
description: 'Your input description here'
sourceDirectory:
description:
'Directory where the BPMN-files are located. Extension has to be ".bpmn".'
required: true
default: '1000'

# Define your outputs here.
outputs:
time:
description: 'Your output description here'
default: 'src/main/resources/bpmn'
targetDirectory:
description: 'Directory where the SVG-files shall be exported'
required: true
default: 'src/main/resources/bpmn'

runs:
using: node20
Expand Down
Loading

0 comments on commit 25e2eef

Please sign in to comment.