Skip to content

Commit 27cc1f7

Browse files
authored
Merge pull request #98 from thatux/master
Update github action to have builds after commits work again
2 parents dc0680e + 6e064c1 commit 27cc1f7

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,33 @@ jobs:
2323
name: Build Linux
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v5
2727
- name: Build
2828
run: cd src/ && make
2929
- name: Generate artifacts
30-
uses: actions/upload-artifact@v3
30+
uses: actions/upload-artifact@v4
3131
with:
3232
name: hashcat-utils-linux
33-
path: src/*.bin
33+
path: |
34+
src/*.bin
35+
src/*.py
3436
3537
build-macos:
3638
strategy:
3739
fail-fast: false
3840
name: Build macOS
3941
runs-on: macos-latest
4042
steps:
41-
- uses: actions/checkout@v3
43+
- uses: actions/checkout@v5
4244
- name: Build
4345
run: cd src/ && make
4446
- name: Generate artifacts
45-
uses: actions/upload-artifact@v3
47+
uses: actions/upload-artifact@v4
4648
with:
4749
name: hashcat-utils-macos
48-
path: src/*.bin
50+
path: |
51+
src/*.bin
52+
src/*.py
4953
5054
build-windows:
5155
strategy:
@@ -60,7 +64,7 @@ jobs:
6064
install: |
6165
make
6266
mingw-w64-x86_64-gcc
63-
- uses: actions/checkout@v3
67+
- uses: actions/checkout@v5
6468
# Paths aren't correct in MSys2 for mingw, copy to the correct path for the Makefile
6569
- name: Copy CRT_glob.o
6670
shell: msys2 {0}
@@ -69,7 +73,9 @@ jobs:
6973
shell: msys2 {0}
7074
run: cd src/ && make windows
7175
- name: Generate artifacts
72-
uses: actions/upload-artifact@v3
76+
uses: actions/upload-artifact@v4
7377
with:
7478
name: hashcat-utils-windows
75-
path: src/*.exe
79+
path: |
80+
src/*.exe
81+
src/*.py

0 commit comments

Comments
 (0)