From 264bbb44cdc8661d66f0d557415eebcc05538364 Mon Sep 17 00:00:00 2001 From: Jason Secula Date: Sat, 28 Mar 2026 20:20:21 +0100 Subject: [PATCH] Updated build number and gitea workflow --- .gitea/workflows/build.yaml | 12 +++++++++--- build/pyproject.toml | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index df4fabb..8138380 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -4,14 +4,20 @@ on: [push] jobs: Build: - runs-on: windows + runs-on: ubuntu-latest + container: + image: python steps: + - name: Act Workaround # https://github.com/nektos/act/issues/973 + if: ${{ env.ACT }} + run: curl -fsSL https://deb.nodesource.com/setup_22.x | bash && apt install -y nodejs - name: Check out repository code uses: actions/checkout@main - name: Building the package run: | - powershell mv ${{ gitea.workspace }}\GLPIAPI.py ${{ gitea.workspace }}\build\src\GLPIAPI\ - cd ${{ gitea.workspace }}\build + mkdir ${{ gitea.workspace }}/build/src/GLPIAPI/ + mv ${{ gitea.workspace }}/GLPIAPI.py ${{ gitea.workspace }}/build/src/GLPIAPI/GLPIAPI.py + cd ${{ gitea.workspace }}/build python -m build - name: Publish package run: | diff --git a/build/pyproject.toml b/build/pyproject.toml index 6ffa9e0..f7dd8eb 100644 --- a/build/pyproject.toml +++ b/build/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta" [project] name = "GLPIAPI" -version = "1.0.3" +version = "1.0.4" description = "A module python to make it easier to use GLPI API" readme = "README.md" dependencies = [