diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 234e1758..2eeae8fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,6 @@ on: jobs: build: runs-on: ubuntu-latest - if: false strategy: matrix: @@ -26,10 +25,10 @@ jobs: # - lastest Java version(s) java: - 1.8 - - 9 +# - 9 - 11 # LTS - - 14 - - 15 +# - 14 +# - 15 steps: - uses: actions/checkout@v2 @@ -55,11 +54,25 @@ jobs: - name: Build with Gradle run: ./gradlew build + - name: Upload artifacts + uses: actions/upload-artifact@v2 + if: matrix.java == '11' + with: + name: FlatLaf-build-artifacts + path: | + flatlaf-core/build/libs + flatlaf-demo/build/libs + flatlaf-extras/build/libs + flatlaf-intellij-themes/build/libs + flatlaf-jide-oss/build/libs + flatlaf-swingx/build/libs + snapshot: runs-on: ubuntu-latest needs: build if: | + false && github.event_name == 'push' && github.ref == 'refs/heads/github-actions' && github.repository == 'JFormDesigner/FlatLaf' @@ -94,7 +107,7 @@ jobs: release: runs-on: ubuntu-latest -# needs: build + needs: build if: | github.event_name == 'push' && startsWith( github.ref, 'refs/tags/' ) && diff --git a/build.gradle.kts b/build.gradle.kts index 29e8694f..bab1dacd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -14,7 +14,7 @@ * limitations under the License. */ -val releaseVersion = "0.0.2" +val releaseVersion = "0.44" val developmentVersion = "0.45-SNAPSHOT" version = if( java.lang.Boolean.getBoolean( "release" ) ) releaseVersion else developmentVersion