Skip to content

Commit 92673be

Browse files
committed
Reformat and install volatility package deps before build
1 parent 51f0a30 commit 92673be

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

.github/workflows/build-pyinstaller.yml

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

1313
jobs:
14-
1514
exe:
1615
runs-on: windows-latest
1716
strategy:
1817
matrix:
1918
python-version: ["3.11"]
2019
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 }}
20+
- uses: actions/checkout@v3
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v4
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
26+
- name: Install dependencies
27+
run: |
28+
python -m pip install --upgrade pip
29+
pip install pyinstaller
30+
pip install -e .[full,cloud]
2631
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
32+
- name: Pyinstall executable
33+
run: |
34+
pyinstaller --clean -y vol.spec
35+
pyinstaller --clean -y volshell.spec
3636
37-
- name: Move files
38-
run: |
39-
mv dist/vol.exe vol.exe
40-
mv dist/volshell.exe volshell.exe
37+
- name: Move files
38+
run: |
39+
mv dist/vol.exe vol.exe
40+
mv dist/volshell.exe volshell.exe
4141
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
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

0 commit comments

Comments
 (0)