Skip to content

Commit

Permalink
Add github action to publish amalgamated llama.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Jun 17, 2022
1 parent 75198aa commit 11fb09e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/single-header.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish amalgamated llama.hpp to single-header
on:
push:
branches:
- develop

jobs:
single-header:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: create-single-header.sh
run: |
./tools/create-single-header.sh
- name: commit
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git add llama.hpp
git diff --quiet && git diff --staged --quiet || (git commit -m "Update llama.hpp"; git push origin single-header)

0 comments on commit 11fb09e

Please sign in to comment.