Skip to content

Commit 7ec8a39

Browse files
authored
Update main.yml
1 parent 99cf3e1 commit 7ec8a39

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
# types: created #, edited]
88
# pull_request:
99
# types: opened
10-
push:
10+
## push:
1111
# branches: wiki
1212
paths-ignore:
1313
- '.github/*'
@@ -49,17 +49,18 @@ jobs:
4949
repository: xenia-canary/xenia-canary
5050
- name: run
5151
env:
52-
I_AM_ZERO: ${{ inputs.I_AM_BOOLEAN }}
52+
I_AM_BOOLEAN: ${{ inputs.I_AM_BOOLEAN }}
5353
# LC_ALL: C.UTF-8
5454
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5555
shell: python
5656
run: |
5757
import os
5858
59-
if os.getenv("I_AM_BOOLEAN"):
60-
print("I_AM_BOOLEAN: True")
59+
I_AM_BOOLEAN=os.getenv("I_AM_BOOLEAN")
60+
if I_AM_BOOLEAN:
61+
print(f"I_AM_BOOLEAN: True ({I_AM_BOOLEAN})")
6162
else:
62-
print("I_AM_BOOLEAN: False")
63+
print(f"I_AM_BOOLEAN: False ({I_AM_BOOLEAN})")
6364
# - name: Update wiki
6465
# env:
6566
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)