-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d6c6eb1
commit 89d5330
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
concurrency: | ||
group: uk-controller-pack-build-${{ github.ref }} | ||
cancel-in-progress: true | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install Dependencies | ||
run: pip install pyinstaller | ||
|
||
`pip install pyinstaller` then `pyinstaller --onefile LogonDetails.py` | ||
|
||
- name: Run Python script | ||
env: | ||
REMOTE_KEY: ${{ secrets.GITHUB_TOKEN }} | ||
run: pyinstaller --onefile ./UK/LogonDetails.py | ||
|
||
# Upload artifacts | ||
- name: Upload Executable As Artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: "Logon Details.exe" | ||
path: ".\\UK\\LogonDetails.exe" |
Binary file not shown.
File renamed without changes.