Test using composite action

This commit is contained in:
Carles Pina i Estany 2022-09-15 23:47:23 +01:00
parent bf166ff070
commit b6ee0e5c19
2 changed files with 3 additions and 3 deletions

View File

@ -50,9 +50,10 @@ inputs:
required: false
runs:
using: docker
image: Dockerfile
using: composite
args:
- run: entrypoint.sh ${{ inputs.source-before-directory }} ${{ inputs.source-directory }} ${{ inputs.destination-github-username }} ${{ inputs.destination-repository-name }} ${{ inputs.github-server }} ${{ inputs.user-email }} ${{ inputs.user-name }} ${{ inputs.destination-repository-username }} ${{ inputs.target-branch }} ${{ inputs.commit-message }} ${{ inputs.target-directory }}
shell: sh
- '${{ inputs.source-before-directory }}'
- '${{ inputs.source-directory }}'
- '${{ inputs.destination-github-username }}'

View File

@ -1,6 +1,5 @@
#!/bin/sh -l
set -x
set -e # if a command fails it stops the execution
set -u # script fails if trying to access to an undefined variable