Skip to content

Commit 5a20d25

Browse files
authored
Update python-app.yml
1 parent 5f1b23b commit 5a20d25

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/python-app.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,15 @@ jobs:
3232
- name: build release
3333
run: |
3434
pyinstaller.exe --onefile --noconsole --icon=icon.ico OneSidedScansMergerApp.py
35-
- name: Upload a Build Artifact
36-
uses: actions/upload-artifact@v3.0.0
35+
- name: Commit files
36+
run: |
37+
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
38+
git config --local user.name "github-actions[bot]"
39+
git add dist/OneSidedScansMergerApp.exe
40+
git commit -m "Build exe" -a
41+
- name: Push changes
42+
uses: ad-m/github-push-action@master
3743
with:
38-
# Artifact name
39-
name: win-release
40-
# A file, directory or wildcard pattern that describes what to upload
41-
path: dist/OneSidedScansMergerApp.exe
42-
# The desired behavior if no files are found using the provided path.
43-
retention-days: 90
44+
github_token: ${{ secrets.BUILD }}
45+
branch: ${{ github.ref }}
4446

0 commit comments

Comments
 (0)