Initial commit
All checks were successful
Build python package / Build (push) Successful in 24s

This commit is contained in:
2026-02-18 10:58:06 +01:00
commit 123d7d1ecf
6 changed files with 411 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
name: Build python package
run-name: building python package GLPIAPI
on: [push]
jobs:
Build:
runs-on: windows
steps:
- name: Check out repository code
uses: actions/checkout@main
- name: Building the package
run: |
mv ${{ gitea.workspace }}\GLPIAPI.py ${{ gitea.workspace }}\build\src\GLPIAPI\
cd ${{ gitea.workspace }}\build
python -m build
- name: Publish package
run: |
python -m twine upload -u ${{ secrets.repo_user }} -p ${{ secrets.repo_pass }} --repository-url ${{ secrets.repo_url }} ${{ gitea.workspace }}\build\dist\*
if: github.ref_type == 'tag'