Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
CalumTowers committed Sep 16, 2023
1 parent d6c6eb1 commit 89d5330
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/compile_exe.yml
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 removed UK/Logon Details.exe
Binary file not shown.
File renamed without changes.

0 comments on commit 89d5330

Please sign in to comment.