Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: CI

on:
# Only run the push build for the mainline; branch work is covered by the
# pull_request trigger below. Without this, pushing a feature/* branch that
# already has an open PR fires BOTH push and pull_request, running CI twice.
push:
branches: [ main, 'feature/*' ]
branches: [ main ]
pull_request:
branches: [ main, 'feature/*' ]
workflow_dispatch:
Expand All @@ -20,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '17' ]
java: [ '21' ]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -52,6 +55,9 @@ jobs:
with:
name: test-report-${{ github.sha }}
path: build/reports/tests/test/**
# The project has no test sources yet, so the report dir may be
# absent; don't warn/fail the step when there is nothing to upload.
if-no-files-found: ignore
retention-days: 7

- name: Upload fat jar
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '17'
java-version: '21'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
Expand Down Expand Up @@ -48,4 +48,6 @@ jobs:
with:
name: "SpecOps ${{ github.ref_name }}"
generate_release_notes: true
files: build/libs/*.jar
files: |
build/libs/*.jar
build/libs/*.sha256
Loading