-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yaml
25 lines (25 loc) · 814 Bytes
/
action.yaml
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
name: 'mactat/framed'
description: 'Enforce repos structure using Framed'
inputs:
template:
description: 'Provide template location'
required: false
default: './framed.yaml'
version:
description: 'Provide version of Framed'
required: false
default: 'v0.0.8'
runs:
using: "composite"
steps:
- uses: actions/checkout@v3
- run: |
wget https://github.com/mactat/framed/releases/download/${{ inputs.version }}/framed-linux-amd64-${{ inputs.version }}.tar.gz
tar -xvzf framed-linux-amd64-${{ inputs.version }}.tar.gz
mv framed /usr/local/bin
chmod +x /usr/local/bin/framed
shell: bash
- run: framed visualize --template ${{ inputs.template }}
shell: bash
- run: framed verify --template ${{ inputs.template }}
shell: bash