2828 run : |
2929 source py313-mac/bin/activate
3030 pip install -r requirements.txt
31+
32+ - name : Set up Git
33+ run : |
34+ git config user.name "github-actions[bot]"
35+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
36+ git checkout --orphan latest-release
37+
38+ - name : Commit and push changes
39+ run : |
40+ git add .
41+ git commit -m "Latest build $(date "+%Y-%m-%d %H:%M:%S")"
42+ git push -f origin latest-release
43+ env :
44+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3145
3246 build-windows :
3347 runs-on : windows-latest
5064 run : |
5165 .\py313-win\Scripts\activate
5266 pip install -r requirements.txt
67+
68+ - name : Set up Git
69+ run : |
70+ git config user.name "github-actions[bot]"
71+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
72+ git checkout --orphan latest-release
73+
74+ - name : Commit and push changes
75+ run : |
76+ git add .
77+ git commit -m "Latest build $(date "+%Y-%m-%d %H:%M:%S")"
78+ git push -f origin latest-release
79+ env :
80+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5381
5482 build-linux :
5583 runs-on : ubuntu-latest
@@ -73,6 +101,20 @@ jobs:
73101 source py313-linux/bin/activate
74102 pip install -r requirements.txt
75103
104+ - name : Set up Git
105+ run : |
106+ git config user.name "github-actions[bot]"
107+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
108+ git checkout --orphan latest-release
109+
110+ - name : Commit and push changes
111+ run : |
112+ git add .
113+ git commit -m "Latest build $(date "+%Y-%m-%d %H:%M:%S")"
114+ git push -f origin latest-release
115+ env :
116+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
117+
76118 release :
77119 runs-on : ubuntu-latest
78120
0 commit comments