Compare commits
3 Commits
1.0.1
...
1.0.1-gite
| Author | SHA1 | Date | |
|---|---|---|---|
| e53af9bb26 | |||
|
|
f5abc6f0f4 | ||
|
|
14b48e7f41 |
@@ -10,7 +10,7 @@ jobs:
|
|||||||
uses: actions/checkout@main
|
uses: actions/checkout@main
|
||||||
- name: Building the package
|
- name: Building the package
|
||||||
run: |
|
run: |
|
||||||
mv ${{ gitea.workspace }}\AirwatchAPI.py ${{ gitea.workspace }}\build\src\AirwatchAPI\
|
powershell mv ${{ gitea.workspace }}\AirwatchAPI.py build\src\AirwatchAPI\
|
||||||
cd ${{ gitea.workspace }}\build
|
cd ${{ gitea.workspace }}\build
|
||||||
python -m build
|
python -m build
|
||||||
- name: Publish package
|
- name: Publish package
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ variables:
|
|||||||
build: # This job runs in the build stage, which runs first.
|
build: # This job runs in the build stage, which runs first.
|
||||||
script:
|
script:
|
||||||
- pip install build twine
|
- pip install build twine
|
||||||
- mkdir build/src/AirwatchAPI/
|
|
||||||
- mv AirwatchAPI.py build/src/AirwatchAPI/
|
- mv AirwatchAPI.py build/src/AirwatchAPI/
|
||||||
- cd build/
|
- cd build/
|
||||||
- python -m build
|
- python -m build
|
||||||
|
|||||||
1
build/src/AirwatchAPI/__init__.py
Normal file
1
build/src/AirwatchAPI/__init__.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
__all__ = ["AirwatchAPI"]
|
||||||
@@ -1 +0,0 @@
|
|||||||
__all__ = ["AirwatchAPI"]
|
|
||||||
Reference in New Issue
Block a user