Skip to content

Commit

Permalink
Merge pull request #12 from julien-capellari/feature/build-in-prs
Browse files Browse the repository at this point in the history
Build on PRs
  • Loading branch information
julien-capellari committed Mar 17, 2021
2 parents 666695c + 27199c8 commit 917d4f6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Expand Up @@ -140,7 +140,9 @@ jobs:
needs: [action-tests]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.3.4
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Download build artifacts
uses: actions/download-artifact@v2
Expand All @@ -153,4 +155,5 @@ jobs:
git config --global user.name 'github-actions'
git config --global user.email 'github-actions@users.noreply.github.com'
git add dist
git commit -m "Automatic build" && git push || true
git commit -m "Automatic build"
git push

0 comments on commit 917d4f6

Please sign in to comment.