Update the script to define package name
This commit is contained in:
+1
-1
@@ -10,4 +10,4 @@ def get_folder_name():
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
name = get_folder_name()
|
name = get_folder_name()
|
||||||
print(f'Show this value : {name}')
|
# print(f'Show this value : {name}')
|
||||||
|
|||||||
@@ -43,7 +43,9 @@ jobs:
|
|||||||
echo "With python, get a folder name"
|
echo "With python, get a folder name"
|
||||||
python '.github/package.py'
|
python '.github/package.py'
|
||||||
echo "set with output value"
|
echo "set with output value"
|
||||||
echo "::set-output name=type::$(python .github/package.py)"
|
echo "Default env variable ${{env.APP_NAME}}"
|
||||||
|
echo "{$(python .github/package.py)}={value}" >> $GITHUB_ENV
|
||||||
|
echo "show env variable ${{env.APP_NAME}}"
|
||||||
|
|
||||||
- name: Commit the previous update
|
- name: Commit the previous update
|
||||||
uses: actions-js/push@v1.3
|
uses: actions-js/push@v1.3
|
||||||
|
|||||||
Reference in New Issue
Block a user