From a912f29bd9998345765247284dc06484828d5fb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 24 Oct 2023 18:50:30 +0200 Subject: [PATCH] use with.args --- .gitea/workflows/release_preparation.yaml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/release_preparation.yaml b/.gitea/workflows/release_preparation.yaml index 3215c7c..191ed6e 100644 --- a/.gitea/workflows/release_preparation.yaml +++ b/.gitea/workflows/release_preparation.yaml @@ -16,17 +16,9 @@ jobs: - name: echo workspace env run: echo ${{ gitea.workspace }} - name: run composer update to update composer.lock - uses: https://github.com/addnab/docker-run-action@v3 + uses: docker://gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:latest with: - run: | - ls -lah - echo {$PWD} - composer list - sleep 240 - composer update - image: gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:latest - # add an option to mount the workspace inside the path /var/www/app, where the workdir is - options: --volume ${{ gitea.workspace }}:/work --workdir /work + args: composer update # - name: commit changed files # uses: https://github.com/stefanzweifel/git-auto-commit-action@v5 # with: