-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaction.yml
More file actions
34 lines (30 loc) · 915 Bytes
/
action.yml
File metadata and controls
34 lines (30 loc) · 915 Bytes
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
name: "Build Schemas"
description: "build schemas"
inputs:
version:
description: "Version number"
required: true
runs:
using: "composite"
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 18
- name: Make Config
working-directory: ./src/cloudeventjekylldocs
shell: bash
run: make config
- name: Make Build
working-directory: ./src/cloudeventjekylldocs
shell: bash
run: make build
- name: tar schema
run: tar -cvf artifact.tar src/cloudeventjekylldocs/output/schemas"
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
path: "artifact.tar"
name: schemas-${{ inputs.version }}