mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-26 09:58:16 +00:00
Add artifacts to GitHub Actions pipeline
This commit is contained in:
parent
249aabd195
commit
c7965208d4
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@ -1,5 +1,18 @@
|
|||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
|
env:
|
||||||
|
include_paths: |
|
||||||
|
charsets/
|
||||||
|
docs/
|
||||||
|
extra/
|
||||||
|
layouts/
|
||||||
|
masks/
|
||||||
|
modules/
|
||||||
|
OpenCL/
|
||||||
|
rules/
|
||||||
|
example*
|
||||||
|
hashcat*
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
@ -13,6 +26,7 @@ on:
|
|||||||
- 'src/**.c'
|
- 'src/**.c'
|
||||||
- 'tools/**'
|
- 'tools/**'
|
||||||
- '**/Makefile'
|
- '**/Makefile'
|
||||||
|
- '.github/workflows/build.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
@ -23,6 +37,7 @@ on:
|
|||||||
- 'src/**.c'
|
- 'src/**.c'
|
||||||
- 'tools/**'
|
- 'tools/**'
|
||||||
- '**/Makefile'
|
- '**/Makefile'
|
||||||
|
- '.github/workflows/build.yml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -38,3 +53,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SHARED: ${{ matrix.shared }}
|
SHARED: ${{ matrix.shared }}
|
||||||
run: make
|
run: make
|
||||||
|
- name: Generate artifacts (shared)
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: hashcat-${{ matrix.os }}-${{ matrix.shared }}
|
||||||
|
path: ${{ env.include_paths }}
|
||||||
|
Loading…
Reference in New Issue
Block a user