Fix: COMPOSER_AUTH for Gitea registry [skip ci]
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -96,9 +96,11 @@ jobs:
|
|||||||
echo "Building: ${ZIP_NAME} (${STABILITY})"
|
echo "Building: ${ZIP_NAME} (${STABILITY})"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
env:
|
||||||
|
COMPOSER_AUTH: '{"http-basic":{"git.mokoconsulting.tech":{"username":"token","password":"${{ secrets.GA_TOKEN }}"}}}'
|
||||||
run: |
|
run: |
|
||||||
if [ -f "composer.json" ]; then
|
if [ -f "composer.json" ]; then
|
||||||
composer install --no-dev --optimize-autoloader
|
composer install --no-dev --optimize-autoloader --no-interaction
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Create package
|
- name: Create package
|
||||||
|
|||||||
Reference in New Issue
Block a user