Update README.md #42
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: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name : install packages | |
run : make install | |
- name: test | |
run: make test | |
- name : format | |
run : make format | |
- name: lint | |
run: make lint | |
- name: Archive and Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ml_pipeline-artifacts | |
path: ${{ github.workspace }} | |
- name: Save to repository | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: | | |
echo GH_TOKEN: "${GH_TOKEN}" | |
git config --global user.name 'github-actions' | |
git config --local user.email "action@github.com" | |
git add . | |
git commit -m "Added Results" || echo "ignore commit failure, proceed" | |
git push | |