Skip to content

Commit

Permalink
github action to push
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaperez1983 committed Jul 15, 2024
1 parent 471ce34 commit d0e4c75
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/main-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,12 @@ jobs:
if: failure()
run: cat unzip_log.txt

- name: Get branch name
id: vars
run: echo "::set-output name=branch::$(echo ${GITHUB_REF#refs/heads/})"

- name: Commit changes
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add inst/lib
git commit -m "Add downloaded package"
git push origin HEAD:${{ steps.vars.outputs.branch }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Test C# binaries
- uses: EndBug/add-and-commit@v9
with:
message: 'Update Windows C# binaries (Commit from Github Actions).'
default_author: github_actions
add: '*.dll'

R-CMD-Check:
if: ${{ always() }}
Expand Down

0 comments on commit d0e4c75

Please sign in to comment.