forked from starknet-io/starknet.js
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 962 Bytes
/
main.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
name: '[WIP] Multi-choice'
on:
workflow_dispatch:
inputs:
choice-0:
description: 'Choice 0'
type: boolean
default: true
choice-1:
description: 'Choice 1'
type: boolean
default: true
choice-2:
type: boolean
default: true
required: false
jobs:
echo-input:
name: Echo input
runs-on: ubuntu-latest
environment:
name: Default
steps:
- run: echo '${{ toJson(github) }}'
- run: echo '${{ toJson(inputs) }}'
- run: echo '${{ toJson(secrets) }}'
- run: echo ${{ toJson(secrets) }}
- run: echo '${{ secrets.TEST_SECRET }}'
- run: echo ${{ contains(secrets.TEST_SECRET, 'uka') }}
- run: echo ${{ startsWith(secrets.TEST_SECRET, 'ku') }}
- run: echo ${{ endsWith(secrets.TEST_SECRET, 'ac') }}
- run: echo ${{ fromJson(secrets.TEST_JSON) }}
- uses: actions/checkout@v3
- run: ls -a