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

21 行
605 B

  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: Committer les modifications
  16. run: git commit -m "MAJ du resultat du vote"
  17. - name: Push les modifications
  18. run: git push origin main