Skip to content

Commit

Permalink
Merge branch 'release/1.4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
bcopy committed Feb 15, 2024
2 parents 5cbae0c + c385dba commit 83fe613
Show file tree
Hide file tree
Showing 12 changed files with 381 additions and 163 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploy package to GitHub Packages

on: workflow_dispatch

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
- name: Publish package
run: mvn -P github --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53 changes: 35 additions & 18 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,44 @@
name: Java CI

on: [push]
on: push

jobs:
build-latest-snapshots:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Maven
run: mvn -P jitpack-latest -B package -DskipTests=true --file pom.xml
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -P github -B package -DskipTests=true --file pom.xml

build-stable:
if: contains(github.ref, 'master') || (contains(github.ref, 'release') ) || (contains(github.ref, 'support') )
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v1
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Maven
run: mvn -B package -DskipTests=true --file pom.xml
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Publish package
run: mvn -P github --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish package to GitHub Packages

on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
- name: Publish package
run: mvn -P github --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,16 @@
[![Java 11](https://img.shields.io/badge/Java-11-green "Java 11")](https://java.com)

A Blockly-based Spring Boot-enabled IDE

# Pre-requisites

* You may need to [install PygameZero on your machine](https://pygame-zero.readthedocs.io/en/latest/installation.html)

## Developer setup

* The Chiby server can automatically initialize the folder ``~/chiby-home`` in your user home. By default, it does not attempt to create the folder, but you can set the property upon run :
```
java -jar chiby-ide.jar --chiby.ide.initialize-home=true
```

* The codebase uses Lombok, in Eclipse, you may need to set it up accordingly to avoid compilation errors.
2 changes: 0 additions & 2 deletions jitpack.yml

This file was deleted.

Loading

0 comments on commit 83fe613

Please sign in to comment.