diff --git a/README.md b/README.md index 2f3c477..8dddb3a 100644 --- a/README.md +++ b/README.md @@ -37,9 +37,18 @@ jobs: uses: actions/checkout@v2 with: repository: ImpressCMS/impresscms + + - name: Installing PHP... + uses: shivammathur/setup-php@2.19.1 + with: + php-version: 8.1 + extensions: curl, gd, pdo_mysql, json, mbstring, pcre, session + ini-values: post_max_size=256M + coverage: none + tools: composer:v2 - name: Installing ImpressCMS... - uses: impresscms-dev/install-impresscms-action@v0.1 + uses: impresscms-dev/install-impresscms-action@v0.1.1 with: database_name: icms database_user: root diff --git a/action.yml b/action.yml index 3ecdf52..f664e9a 100644 --- a/action.yml +++ b/action.yml @@ -124,7 +124,15 @@ runs: if: steps.checks1.outputs.uses_phoenix == 'false' - name: Chmoding folders... - run: chmod -R 0777 ./storage ./modules ./themes ./uploads + run: | + chmod -R 0777 ./storage || true + chmod -R 0777 ./modules || true + chmod -R 0777 ./themes || true + chmod -R 0777 ./uploads || true + chmod -R 0777 ./htdocs/modules || true + chmod -R 0777 ./htdocs/themes || true + chmod -R 0777 ./htdocs/uploads || true + chmod -R 0777 ./htdocs/images || true shell: bash working-directory: ${{ inputs.path }}