Enable newer lambda processor for MSVC #257
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish amalgamated llama.hpp to single-header | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
single-header: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: clone single-header | |
run: | | |
git clone -b single-header --single-branch https://x-access-token:${{secrets.github_token}}@github.com/${{github.repository}}.git single-header | |
- name: create-single-header.sh | |
run: | | |
./tools/create-single-header.sh | |
- name: commit | |
run: | | |
set -x | |
cd single-header | |
if ! git diff --exit-code | |
then | |
git config --global user.email "[email protected]" | |
git config --global user.name "GitHub Action" | |
git add llama.hpp | |
git commit -m "Update llama.hpp" | |
git push origin single-header | |
else | |
echo "No changes to commit" | |
fi |