diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 9bdd6f6..200c75c 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -11,6 +11,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + submodules: recursive - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -30,8 +32,6 @@ jobs: run: composer validate --strict - name: Install Composer dependencies (production) - env: - COMPOSER_AUTH: '{"http-basic": {"src.bundespruefstelle.ch": {"username": "git", "password": "${{ secrets.SRC_GITEA_TOKEN }}"}}}' run: | composer config platform.php 8.3.0 composer install --no-dev --optimize-autoloader --no-interaction diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..b283962 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "lib/wc-licensed-product-client"] + path = lib/wc-licensed-product-client + url = https://src.bundespruefstelle.ch/magdev/wc-licensed-product-client.git diff --git a/composer.json b/composer.json index 80ed37c..a1833ad 100644 --- a/composer.json +++ b/composer.json @@ -16,8 +16,8 @@ }, "repositories": [ { - "type": "vcs", - "url": "https://src.bundespruefstelle.ch/magdev/wc-licensed-product-client.git" + "type": "path", + "url": "lib/wc-licensed-product-client" } ], "require": { diff --git a/composer.lock b/composer.lock index 12a7688..4a9f004 100644 --- a/composer.lock +++ b/composer.lock @@ -4,15 +4,15 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f7faf49a10004a02b32814806bd51d77", + "content-hash": "0c8153ac31232ffe7f0af117cec865b4", "packages": [ { "name": "magdev/wc-licensed-product-client", "version": "v0.2.2", - "source": { - "type": "git", - "url": "https://src.bundespruefstelle.ch/magdev/wc-licensed-product-client.git", - "reference": "56abe8a97c72419c07a6daf263ba6f4a9b5fe4b1" + "dist": { + "type": "path", + "url": "lib/wc-licensed-product-client", + "reference": "f9281ec5fb23bf1993ab0240e0347c835009a10f" }, "require": { "php": "^8.3", @@ -51,7 +51,9 @@ "issues": "https://src.bundespruefstelle.ch/magdev/wc-licensed-product-client/issues", "source": "https://src.bundespruefstelle.ch/magdev/wc-licensed-product-client" }, - "time": "2026-01-28T10:56:47+00:00" + "transport-options": { + "relative": true + } }, { "name": "psr/cache", diff --git a/lib/wc-licensed-product-client b/lib/wc-licensed-product-client new file mode 160000 index 0000000..56abe8a --- /dev/null +++ b/lib/wc-licensed-product-client @@ -0,0 +1 @@ +Subproject commit 56abe8a97c72419c07a6daf263ba6f4a9b5fe4b1