Skip to content

Commit

Permalink
Update build_executable.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aadium authored Aug 16, 2023
1 parent 74bc8f3 commit be94010
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/build_executable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,14 @@ jobs:
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
- name: Install PyInstaller
run: pip install pyinstaller

- name: Build Executable
run: pyinstaller --onefile trajectory.py

- name: Create 'output' Branch
run: |
git checkout -b output
git add dist/trajectory
git commit -m "Add generated executable"
git push origin output
- name: Clean Up
run: |
git checkout main
git branch -D output
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: executable
path: dist/trajectory # Path to the generated executable

0 comments on commit be94010

Please sign in to comment.