use with.args

This commit is contained in:
Julien Fastré 2023-10-24 18:50:30 +02:00
parent 921b5c39de
commit a912f29bd9
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -16,17 +16,9 @@ jobs:
- name: echo workspace env - name: echo workspace env
run: echo ${{ gitea.workspace }} run: echo ${{ gitea.workspace }}
- name: run composer update to update composer.lock - 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: with:
run: | args: composer update
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
# - name: commit changed files # - name: commit changed files
# uses: https://github.com/stefanzweifel/git-auto-commit-action@v5 # uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
# with: # with: