Merge pull request #206 from somebodyawesome-dev/master #15
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: 'Release' | |
on: | |
push: | |
branches: [master] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Check out Git repository' | |
uses: actions/checkout@v3 | |
- name: 'Generate shell files' | |
run: make generate | |
- name: 'Commit generated files' | |
if: ${{ success() }} | |
run: | | |
git config user.name 'github-actions' | |
git config user.email '[email protected]' | |
git add lscolors.sh lscolors.csh | |
git commit -m "Update shell files" || echo "No changes to commit" | |
git push |