Skip to content

Commit bccee95

Browse files
committed
preparing release scripts
1 parent 70f1df2 commit bccee95

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Release on GitHub
2+
3+
4+
## Run only when we push a tag.
5+
on:
6+
push:
7+
tags:
8+
- "v*"
9+
10+
11+
jobs:
12+
13+
build-base:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Setup JDK 1.8
18+
uses: actions/setup-java@v1
19+
with:
20+
java-version: 1.8
21+
- name: Cache Maven packages
22+
uses: actions/cache@v3
23+
with:
24+
path: ~/.m2
25+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
26+
restore-keys: ${{ runner.os }}-m2
27+
- name: Build with Maven
28+
# Don't run any test, as build should had already been verified (and it takes hours...)
29+
run: mvn clean verify -DskipTests
30+
- name: Release
31+
uses: softprops/action-gh-release@v1
32+
with:
33+
body: "See release notes at [release_notes.md](https://github.com/WebFuzzing/Commons/blob/master/release_notes.md)."
34+
prerelease: false
35+
draft: false
36+
fail_on_unmatched_files: true
37+
files: |
38+
src/main/resources/wfc/schemas/report.yaml

0 commit comments

Comments
 (0)