Skip to content

Commit 57b28e5

Browse files
authored
Merge pull request #1798 from volatilityfoundation/issues/fix-exe-build
Reformat and install volatility package deps before build
2 parents 142add1 + ee445d9 commit 57b28e5

File tree

1 file changed

+31
-30
lines changed

1 file changed

+31
-30
lines changed

.github/workflows/build-pyinstaller.yml

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,48 @@ on:
44
branches:
55
- stable
66
- develop
7-
- 'release/**'
7+
- "release/**"
88
pull_request:
99
branches:
1010
- stable
11-
- 'release/**'
11+
- "release/**"
12+
workflow_dispatch:
1213

1314
jobs:
14-
1515
exe:
1616
runs-on: windows-latest
1717
strategy:
1818
matrix:
1919
python-version: ["3.11"]
2020
steps:
21-
- uses: actions/checkout@v3
22-
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v4
24-
with:
25-
python-version: ${{ matrix.python-version }}
21+
- uses: actions/checkout@v3
22+
- name: Set up Python ${{ matrix.python-version }}
23+
uses: actions/setup-python@v4
24+
with:
25+
python-version: ${{ matrix.python-version }}
26+
27+
- name: Install dependencies
28+
run: |
29+
python -m pip install --upgrade pip
30+
pip install pyinstaller
31+
pip install -e .[full,cloud]
2632
27-
- name: Install dependencies
28-
run: |
29-
python -m pip install --upgrade pip
30-
pip install pyinstaller
31-
32-
- name: Pyinstall executable
33-
run: |
34-
pyinstaller --clean -y vol.spec
35-
pyinstaller --clean -y volshell.spec
33+
- name: Pyinstall executable
34+
run: |
35+
pyinstaller --clean -y vol.spec
36+
pyinstaller --clean -y volshell.spec
3637
37-
- name: Move files
38-
run: |
39-
mv dist/vol.exe vol.exe
40-
mv dist/volshell.exe volshell.exe
38+
- name: Move files
39+
run: |
40+
mv dist/vol.exe vol.exe
41+
mv dist/volshell.exe volshell.exe
4142
42-
- name: Archive
43-
uses: actions/upload-artifact@v4
44-
with:
45-
name: volatility3-pyinstaller
46-
path: |
47-
vol.exe
48-
volshell.exe
49-
README.md
50-
LICENSE.txt
43+
- name: Archive
44+
uses: actions/upload-artifact@v4
45+
with:
46+
name: volatility3-pyinstaller
47+
path: |
48+
vol.exe
49+
volshell.exe
50+
README.md
51+
LICENSE.txt

0 commit comments

Comments
 (0)