-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
44 lines (28 loc) · 1.02 KB
/
action.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
name : News Section
description : |
Updates / injects a news section generated from the info you supply.
author : ElectronicsArchiver
branding:
color : green
icon : file-text
inputs:
config:
description : A relative repository path to your config file.
required : true
runs:
using : composite
steps:
- name : Setup Deno
uses : denoland/setup-deno@v1
with :
deno-version : '1.29.2'
- name : Run News Section
shell : bash
run : |
deno run \
--allow-write="$GITHUB_WORKSPACE" \
--allow-read="$GITHUB_WORKSPACE" \
--import-map="$GITHUB_ACTION_PATH/Imports.json" \
--allow-env=GITHUB_WORKSPACE \
"$GITHUB_ACTION_PATH/Source/App.ts" \
--config="${{ inputs.config }}"