* Update workflow actions and Gradle. * Introduce friendly names to wiki_update and release scripts. * Only embeddedt can run release and update wiki workflows.
34 lines
710 B
YAML
34 lines
710 B
YAML
name: Build ModernFix using Gradle
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '**'
|
|
tags-ignore:
|
|
- '**'
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 17
|
|
cache: 'gradle'
|
|
- name: Build ModernFix using Gradle
|
|
run: |
|
|
chmod +x gradlew
|
|
./gradlew --no-daemon build
|
|
- name: Upload Artifacts to GitHub
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: Package
|
|
path: bin
|