*  ||  true

* 3.8

* python: 3.x
This commit is contained in:
Christian Clauss 2019-11-15 03:22:23 +01:00 committed by John Law
parent a7424cc115
commit dbaedd4ed7

View File

@ -5,22 +5,16 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: [3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
python-version: 3.x
- name: Update DIRECTORY.md
run: |
scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md
git config --global user.name github-actions
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git commit -am "updating DIRECTORY.md"
git push --force origin HEAD:$GITHUB_REF
git commit -am "updating DIRECTORY.md" || true
git push --force origin HEAD:$GITHUB_REF || true