Added GitHub workflow
This commit is contained in:
parent
387d1a93e7
commit
bf0c9bf1fe
4 changed files with 42 additions and 2 deletions
32
.github/workflows/bld.yml
vendored
Normal file
32
.github/workflows/bld.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
name: bld-ci
|
||||
|
||||
on: [ push, pull_request, workflow_dispatch ]
|
||||
|
||||
jobs:
|
||||
build-gradle-project:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
java-version: [ 17, 19 ]
|
||||
|
||||
steps:
|
||||
- name: Checkout source repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up JDK ${{ matrix.java-version }}
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: ${{ matrix.java-version }}
|
||||
|
||||
- name: Grant execute permission for bld
|
||||
run: chmod +x bld
|
||||
|
||||
- name: Download the dependencies
|
||||
run: ./bld download
|
||||
|
||||
- name: Run tests with bld
|
||||
run: ./bld compile test
|
|
@ -1,6 +1,8 @@
|
|||
# [Bld](https://github.com/rife2/rife2/wiki/What-Is-Bld) Extension to Edit or Modify Properties Files
|
||||
# [Bld](https://github.com/rife2/rife2/wiki/What-Is-Bld) Extension to Create or Modify Properties Files
|
||||
|
||||
[](http://opensource.org/licenses/BSD-3-Clause)
|
||||
[](https://github.com/rife2/bld-property-file/actions/workflows/gradle.yml)
|
||||
|
||||
|
||||
An extension for creating or modifying [property files](https://docs.oracle.com/javase/tutorial/essential/environment/properties.html) with [bld](https://github.com/rife2/rife2/wiki/What-Is-Bld). It is inspired by the [ant PropertyFile task](https://ant.apache.org/manual/Tasks/propertyfile.html).
|
||||
|
||||
|
|
6
examples/.idea/vcs.xml
generated
Normal file
6
examples/.idea/vcs.xml
generated
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
|
||||
</component>
|
||||
</project>
|
|
@ -20,7 +20,7 @@ public class PropertyFileBuild extends Project {
|
|||
javadocOptions.add("-Xdoclint:-missing");
|
||||
publishRepository = MAVEN_LOCAL;
|
||||
publishInfo = new PublishInfo().groupId("com.uwyn.rife2").artifactId("bld-property-file")
|
||||
.description("Bld Extension to Edit or Create Properties Files")
|
||||
.description("Bld Extension to Create or Modify Properties Files")
|
||||
.url("https://github.com/rife2/bld-property-file")
|
||||
.developer(new PublishDeveloper().id("ethauvin").name("Erik C. Thauvin").email("erik@thauvin.net")
|
||||
.url("https://erik.thauvin.net/"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue