Skip to content

added git config

added git config #2

Workflow file for this run

on:
release:
types: [published]
jobs:
update-version:
runs-on: ubuntu-latest
steps:

Check failure on line 7 in .github/workflows/version.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/version.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
- uses: actions/checkout@v1
-run: |
git config --global user.email "[email protected]"
git config --global user.name "eead-csic-compbio"
- name: write current tag as version
run: git describe --tags --abbrev=0 > ./version.txt
- name: commit
run: git commit -m "updated" version.txt
- name: fetch from master
run: git fetch origin master
- name: push code to master
run: git push origin HEAD:master