Rework code... #162
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
name: Build Skyllia | |
on: [ push, pull_request ] | |
jobs: | |
skyllia-dev: | |
runs-on: ubuntu-22.04 | |
if: "!contains(github.event.commits[0].message, '[ci-skip]')" | |
steps: | |
- name: Checkout Git Repository | |
uses: actions/checkout@v4 | |
- name: Setup Java 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "21" | |
cache: "gradle" | |
distribution: "temurin" | |
- name: Configure Git User | |
run: git config --global user.email "[email protected]" && git config --global user.name "Github Actions" | |
- name: Permission gradlew | |
run: chmod +x gradlew | |
- name: Build Skyllia jar | |
run: ./gradlew shadowJar | |
- name: Upload Snapshot jar | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Skyllia-Build | |
path: | | |
build/libs/*.jar | |
addons/**/build/libs/*.jar |