-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 861 Bytes
/
test.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
name: Test
on:
workflow_dispatch:
inputs:
persona:
type: choice
description: "Choose Jellys"
required: false
default: 'Wonny'
options:
- Wonny
- Belty
- Bolby
env:
PERSONA: ${{ github.event.inputs.persona }}
jobs:
build:
environment: goldminer
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2
- name: Secret to File
uses: mobiledevops/secret-to-file-action@v1
with:
base64-encoded-secret: ${{ secrets.TEST_JSON }}
filename: my_test.json
is-executable: false
working-director: "./"
- name: test code
run: |
echo "Datetime"
date
echo "Saved file"
cat ./my_test.json
echo "End of File"