您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

8 个月前
8 个月前
1234567891011121314151617181920212223
  1. name: Mis a jour du resultat du vote Borda
  2. on:
  3. - push
  4. jobs:
  5. build:
  6. runs-on: ubuntu-latest
  7. permissions:
  8. contents: write
  9. steps:
  10. - uses: actions/checkout@v2
  11. - name: Mis a jour du resultat du vote Borda
  12. run: python ${{ github.workspace }}/vote_borda.py > ${{ github.workspace }}/resultat_vote.txt
  13. - name: Ajouter le fichier resultat_vote.txt
  14. run: git add ${{ github.workspace }}/resultat_vote.txt
  15. - name: Commit and Push
  16. run: |
  17. git config --local user.email "action@github.com"
  18. git config --local user.name "GitHub Action"
  19. git add ${{ github.workspace }}/resultat_vote.txt
  20. git commit -m "Actualisation du resultat du vote Borda"
  21. git push origin main