Skip to content

Commit

Permalink
just one build
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevPavelmc committed Jan 9, 2022
1 parent 33a5cc0 commit b6c4887
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 28 deletions.
30 changes: 2 additions & 28 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,8 @@ on:
pull_request:

jobs:
build-nongui:

runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2

- name: Setup Script
run: ./linux_setup.sh

- name: Python requisite installs
run: pip3 install -r requirements.txt pyinstaller

- name: App creation
run: python3 -m PyInstaller -yF rflh.py

- name: Test App
run: cp rotor.conf dist/ && chmod +x ./dist/rflh && ./dist/rflh 145 -d

- uses: actions/upload-artifact@v2
with:
name: rflh-nogui
path: dist/rflh

build-gui:

build:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2

Expand All @@ -53,6 +27,6 @@ jobs:

- uses: actions/upload-artifact@v2
with:
name: rflh-gui
name: rflh
path: dist/rflh

3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
- name: Setup Script
run: ./linux_setup.sh

- name: GUI install
run: sudo apt-get install python3-tk

- name: Python requisite installs
run: pip3 install -r requirements.txt pyinstaller

Expand Down

0 comments on commit b6c4887

Please sign in to comment.