Skip to content

Commit ab3b949

Browse files
committed
Set-up basic action
1 parent 0f311d7 commit ab3b949

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on: [push]
2+
3+
jobs:
4+
hello_world_job:
5+
runs-on: ubuntu-latest
6+
name: A job to say validate the action
7+
steps:
8+
# To use this repository's private action,
9+
# you must check out the repository
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
- name: Tidal Doctor action step
13+
uses: ./ # Uses an action in the root directory
14+
with:
15+
tidal-email: '${{ secrets.TIDAL_EMAIL }}'
16+
tidal-url: '${{ secrets.TIDAL_URL }}'
17+
tidal-password: '${{ secrets.TIDAL_PASSWORD }}'
18+
id: hello

action.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: 'Tidal Tools Code Analysis'
2+
description: 'Run tidal'
3+
inputs:
4+
tidal-email: # id of input
5+
description: 'Who to greet'
6+
required: true
7+
tidal-password:
8+
description: 'Who to greet'
9+
required: true
10+
tidal-url:
11+
description: 'Who to greet'
12+
required: true
13+
runs:
14+
using: 'docker'
15+
image: 'gcr.io/tidal-1529434400027/tidal-tools:latest'
16+
args:
17+
- 'doctor'
18+
- '--tidal-email'
19+
- '${{inputs.tidal-email}}'
20+
- '--tidal-password'
21+
- '${{inputs.tidal-password}}'
22+
- '--tidal-url'
23+
- '${{inputs.tidal-url}}'
24+

0 commit comments

Comments
 (0)