update action.yml

Signed-off-by: GuillaumeFalourd <guillaume.falourd@zup.com.br>
This commit is contained in:
GuillaumeFalourd 2021-10-21 15:03:39 -03:00
parent 462e75fca7
commit cb250b1293
2 changed files with 5 additions and 5 deletions

View file

@ -7,14 +7,14 @@ on:
workflow_dispatch:
jobs:
minimal:
ubuntu-minimal:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- run: date > reports/ubuntu_report_1.txt
- uses: GuillaumeFalourd/git-commit-push@main
full:
ubuntu-full:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4

View file

@ -83,11 +83,11 @@ runs:
git add ${{ inputs.files }} -v
git commit -m "${{ inputs.commit_message }}" $EMPTY
git branch push-and-commit-action-${{ github.run_id }}
git branch push-and-commit-action-${{ github.run_id }}-${{ github.job }}
git fetch "${{ inputs.remote_repository }}" "$CURRENT_BRANCH"
git checkout "$CURRENT_BRANCH"
git merge push-and-commit-action-${{ github.run_id }}
git branch -d push-and-commit-action-${{ github.run_id }}
git merge push-and-commit-action-${{ github.run_id }}-${{ github.job }}
git branch -d push-and-commit-action-${{ github.run_id }}-${{ github.job }}
git push "${{ inputs.remote_repository }}" "$CURRENT_BRANCH:$TARGET_BRANCH" --follow-tags $FORCE $TAGS
shell: bash