update action.yml
Signed-off-by: GuillaumeFalourd <guillaume.falourd@zup.com.br>
This commit is contained in:
parent
462e75fca7
commit
cb250b1293
2 changed files with 5 additions and 5 deletions
4
.github/workflows/ubuntu_action_test.yml
vendored
4
.github/workflows/ubuntu_action_test.yml
vendored
|
@ -7,14 +7,14 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
minimal:
|
ubuntu-minimal:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
- run: date > reports/ubuntu_report_1.txt
|
- run: date > reports/ubuntu_report_1.txt
|
||||||
- uses: GuillaumeFalourd/git-commit-push@main
|
- uses: GuillaumeFalourd/git-commit-push@main
|
||||||
|
|
||||||
full:
|
ubuntu-full:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
|
|
|
@ -83,11 +83,11 @@ runs:
|
||||||
git add ${{ inputs.files }} -v
|
git add ${{ inputs.files }} -v
|
||||||
git commit -m "${{ inputs.commit_message }}" $EMPTY
|
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 fetch "${{ inputs.remote_repository }}" "$CURRENT_BRANCH"
|
||||||
git checkout "$CURRENT_BRANCH"
|
git checkout "$CURRENT_BRANCH"
|
||||||
git merge 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 }}
|
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
|
git push "${{ inputs.remote_repository }}" "$CURRENT_BRANCH:$TARGET_BRANCH" --follow-tags $FORCE $TAGS
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Add table
Reference in a new issue