-
-
Notifications
You must be signed in to change notification settings - Fork 2
73 lines (64 loc) · 2.3 KB
/
demo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: Demonstration
on:
push:
branches:
- main
jobs:
test-actions:
runs-on: ubuntu-latest
name: Test actions
steps:
- uses: actions/checkout@v3
- name: Convert EPS to PNG with "input" and "output" defined
uses: ./
with:
input: ./.github/workflows/logo.eps
output: ./logo1.png
- name: Convert EPS to PNG with "input" defined, but with incomplete "output"
if: success()
uses: ./
with:
input: ./.github/workflows/logo.eps
output: ./logo2 # The path will be converted to "./logo2.png"
- name: Convert EPS to PNG with "input" and "format" defined, but with incomplete "output"
if: success()
uses: ./
with:
input: ./.github/workflows/logo.eps
output: ./logo3 # The path will be converted to "./logo3.png"
format: png
- name: Convert EPS to TIFF with "input" and "format" defined, but with no "output"
if: success()
uses: ./
with:
input: ./.github/workflows/logo.eps
format: tiff
# The output path will be converted to "./.github/workflows/logo.tiff"
- name: Convert EPS to JPEG with "input" and "format" defined, but with incomplete "output"
if: success()
uses: ./
with:
input: ./.github/workflows/logo.eps
output: ./logo4 # The path will be converted to "./logo4.jpeg"
format: jpeg
- name: Convert EPS to SVG with "input" and "format" defined, but with incomplete "output"
if: success()
uses: ./
with:
input: ./.github/workflows/logo.eps
output: ./logo5 # The path will be converted to "./logo5.svg"
format: svg
- name: Convert EPS to PDF with "input" and "format" defined, but with incomplete "output"
if: success()
uses: ./
with:
input: ./.github/workflows/logo.eps
output: ./logo6 # The path will be converted to "./logo6.pdf"
format: pdf
- name: Convert EPS to PS with "input" and "format" defined, but with incomplete "output"
if: success()
uses: ./
with:
input: ./.github/workflows/logo.eps
output: ./logo7 # The path will be converted to "./logo7.ps"
format: ps