From c7ee555074fae1435c23d0e639854f46cb67cf3a Mon Sep 17 00:00:00 2001 From: Nico <21992381+Psycoguana@users.noreply.github.com> Date: Thu, 22 Oct 2020 17:54:12 -0300 Subject: [PATCH 1/9] Create build_exe.yml --- .github/workflows/build_exe.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build_exe.yml diff --git a/.github/workflows/build_exe.yml b/.github/workflows/build_exe.yml new file mode 100644 index 0000000..5a20b8b --- /dev/null +++ b/.github/workflows/build_exe.yml @@ -0,0 +1,23 @@ +name: PyInstaller + +on: + workflow_dispatch: + +jobs: + build: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v1 + - name: Set up Python 3.8 + uses: actions/setup-python@v1 + with: + python-version: 3.8 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pyinstaller + - name: build with pyinstaller + run: | + pyinstaller bin/ffr From 063bdfe8d877b354edd32a0f24d7f28178421f9f Mon Sep 17 00:00:00 2001 From: Nico <21992381+Psycoguana@users.noreply.github.com> Date: Thu, 22 Oct 2020 18:11:21 -0300 Subject: [PATCH 2/9] Update build_exe.yml --- .github/workflows/build_exe.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_exe.yml b/.github/workflows/build_exe.yml index 5a20b8b..326ce61 100644 --- a/.github/workflows/build_exe.yml +++ b/.github/workflows/build_exe.yml @@ -1,7 +1,8 @@ name: PyInstaller on: - workflow_dispatch: + pull_request: + branches: [master] jobs: build: From 1ad83c953d0ffc6656a95c4198e6a575b57abc93 Mon Sep 17 00:00:00 2001 From: Nico <21992381+Psycoguana@users.noreply.github.com> Date: Thu, 22 Oct 2020 18:45:24 -0300 Subject: [PATCH 3/9] Update build_exe.yml --- .github/workflows/build_exe.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build_exe.yml b/.github/workflows/build_exe.yml index 326ce61..6b6544f 100644 --- a/.github/workflows/build_exe.yml +++ b/.github/workflows/build_exe.yml @@ -22,3 +22,5 @@ jobs: - name: build with pyinstaller run: | pyinstaller bin/ffr + - name: Download all workflow run artifacts + uses: actions/download-artifact@v2 From 684acaa03c5c059c1fea1a98b81b97c57a585f9a Mon Sep 17 00:00:00 2001 From: Nico <21992381+Psycoguana@users.noreply.github.com> Date: Thu, 22 Oct 2020 18:54:18 -0300 Subject: [PATCH 4/9] Update build_exe.yml --- .github/workflows/build_exe.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_exe.yml b/.github/workflows/build_exe.yml index 6b6544f..e991b8c 100644 --- a/.github/workflows/build_exe.yml +++ b/.github/workflows/build_exe.yml @@ -19,8 +19,16 @@ jobs: run: | python -m pip install --upgrade pip pip install pyinstaller - - name: build with pyinstaller - run: | - pyinstaller bin/ffr - - name: Download all workflow run artifacts - uses: actions/download-artifact@v2 + - name: build with pyinstaller + + - uses: JackMcKew/pyinstaller-action-windows@main + with: + path: bin/ffr + + - uses: actions/upload-artifact@v2 + with: + name: my-exe + path: src/dist/windows + + - name: Display structure of downloaded files + run: ls -R From e3c379476fc80376416df443a58c32e448ae2a31 Mon Sep 17 00:00:00 2001 From: Nico <21992381+Psycoguana@users.noreply.github.com> Date: Thu, 22 Oct 2020 18:55:25 -0300 Subject: [PATCH 5/9] Update build_exe.yml --- .github/workflows/build_exe.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build_exe.yml b/.github/workflows/build_exe.yml index e991b8c..e992905 100644 --- a/.github/workflows/build_exe.yml +++ b/.github/workflows/build_exe.yml @@ -19,7 +19,6 @@ jobs: run: | python -m pip install --upgrade pip pip install pyinstaller - - name: build with pyinstaller - uses: JackMcKew/pyinstaller-action-windows@main with: From 5416b0e5a0ee52e0a78cb61979410eef6f01ba03 Mon Sep 17 00:00:00 2001 From: Nico <21992381+Psycoguana@users.noreply.github.com> Date: Thu, 22 Oct 2020 18:57:39 -0300 Subject: [PATCH 6/9] Update build_exe.yml --- .github/workflows/build_exe.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_exe.yml b/.github/workflows/build_exe.yml index e992905..cbdc453 100644 --- a/.github/workflows/build_exe.yml +++ b/.github/workflows/build_exe.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 From 48c9f0b70852a3e8ebf49d810cb8060dec32a056 Mon Sep 17 00:00:00 2001 From: Nico <21992381+Psycoguana@users.noreply.github.com> Date: Thu, 22 Oct 2020 19:04:48 -0300 Subject: [PATCH 7/9] Update build_exe.yml --- .github/workflows/build_exe.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build_exe.yml b/.github/workflows/build_exe.yml index cbdc453..5acf9b5 100644 --- a/.github/workflows/build_exe.yml +++ b/.github/workflows/build_exe.yml @@ -10,17 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - name: Set up Python 3.8 - uses: actions/setup-python@v1 - with: - python-version: 3.8 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pyinstaller - - - uses: JackMcKew/pyinstaller-action-windows@main + - uses: actions/checkout@v2 + - name: PyInstaller Windows + uses: JackMcKew/pyinstaller-action-windows@main with: path: bin/ffr From dee968719094fd5ccddb61ed1a63d9ce1503503b Mon Sep 17 00:00:00 2001 From: Nico <21992381+Psycoguana@users.noreply.github.com> Date: Thu, 22 Oct 2020 19:11:32 -0300 Subject: [PATCH 8/9] Update build_exe.yml --- .github/workflows/build_exe.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_exe.yml b/.github/workflows/build_exe.yml index 5acf9b5..6203aff 100644 --- a/.github/workflows/build_exe.yml +++ b/.github/workflows/build_exe.yml @@ -14,12 +14,12 @@ jobs: - name: PyInstaller Windows uses: JackMcKew/pyinstaller-action-windows@main with: - path: bin/ffr + path: bin - uses: actions/upload-artifact@v2 with: name: my-exe - path: src/dist/windows + path: bin/dist/windows - name: Display structure of downloaded files run: ls -R From b247a609e32cc05ce38bac58e9f43178dfbaa622 Mon Sep 17 00:00:00 2001 From: Nico <21992381+Psycoguana@users.noreply.github.com> Date: Thu, 22 Oct 2020 19:13:56 -0300 Subject: [PATCH 9/9] Update build_exe.yml --- .github/workflows/build_exe.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_exe.yml b/.github/workflows/build_exe.yml index 6203aff..290a325 100644 --- a/.github/workflows/build_exe.yml +++ b/.github/workflows/build_exe.yml @@ -14,7 +14,7 @@ jobs: - name: PyInstaller Windows uses: JackMcKew/pyinstaller-action-windows@main with: - path: bin + path: ./ - uses: actions/upload-artifact@v2 with: