mirror of
https://github.com/dedicatedcode/reitti.git
synced 2026-01-10 09:57:57 -05:00
update gh actions to allow pr builds (#268)
This commit is contained in:
12
.github/workflows/maven.yml
vendored
12
.github/workflows/maven.yml
vendored
@@ -6,7 +6,7 @@
|
||||
# separate terms of service, privacy policy, and support
|
||||
# documentation.
|
||||
|
||||
name: Branch build
|
||||
name: PR build
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@@ -25,13 +25,3 @@ jobs:
|
||||
cache: maven
|
||||
- name: Build with Maven
|
||||
run: mvn verify -DskipTests
|
||||
- name: Create bundle
|
||||
run: mkdir staging && cp target/*.jar staging
|
||||
- name: Upload packages
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Package
|
||||
path: staging
|
||||
|
||||
- name: Update dependency graph
|
||||
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
|
||||
|
||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -64,4 +64,6 @@ jobs:
|
||||
fail_on_unmatched_files: true
|
||||
files: |
|
||||
staging/*.jar
|
||||
LICENSE
|
||||
LICENSE
|
||||
- name: Update dependency graph
|
||||
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
|
||||
Reference in New Issue
Block a user