-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Category | ||
|
||
This change is exactly one of the following (please change `[ ]` to `[x]`) to indicate which: | ||
* [ ] a bug fix (Fix #...) | ||
* [ ] a new Ripper | ||
* [ ] a refactoring | ||
* [ ] a style change/fix | ||
* [ ] a new feature | ||
|
||
|
||
# Description | ||
|
||
Please add details about your change here. | ||
|
||
|
||
# Testing | ||
|
||
Required verification: | ||
* [ ] I've verified that there are no regressions in `mvn test` (there are no new failures or errors). | ||
* [ ] I've verified that this change works as intended. | ||
* [ ] Downloads all relevant content. | ||
* [ ] Downloads content from multiple pages (as necessary or appropriate). | ||
* [ ] Saves content at reasonable file names (e.g. page titles or content IDs) to help easily browse downloaded content. | ||
* [ ] I've verified that this change did not break existing functionality (especially in the Ripper I modified). | ||
|
||
Optional but recommended: | ||
* [ ] I've added a unit test to cover my change. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: CI + release | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- '**' | ||
tags: | ||
- '!**' | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macOS-latest] | ||
java: [17, 21, 22] | ||
include: # upload from java-17 only | ||
- java: 17 | ||
upload: true | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v1 | ||
|
||
- name: Set environment CI_ variables | ||
id: ci-env | ||
uses: FranzDiebold/[email protected] | ||
|
||
- name: Set up java | ||
uses: actions/[email protected] | ||
with: | ||
java-version: ${{ matrix.java }} | ||
distribution: zulu | ||
cache: gradle | ||
|
||
- name: Build with Gradle | ||
run: gradle clean build -PjavacRelease=${{ matrix.java }} | ||
|
||
- name: SHA256 | ||
if: matrix.upload | ||
run: shasum -a 256 build/libs/*.jar | ||
|
||
- name: upload jar as asset | ||
if: matrix.upload | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: zipped-jar | ||
path: build/libs/*.jar | ||
|
||
- name: create pre-release | ||
id: create-pre-release | ||
if: matrix.upload | ||
uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
automatic_release_tag: "latest-${{ env.CI_REF_NAME_SLUG }}" | ||
prerelease: true | ||
title: "development build ${{ env.CI_REF_NAME }}" | ||
files: | | ||
build/libs/*.jar | ||
# vim:set ts=2 sw=2 et: |