Skip to content

Update build_release.yml #18

Update build_release.yml

Update build_release.yml #18

# This workflow will build and upload test artifact
# Simple workflow with ignoring condition to prevent unneccessary build
# To download artifact check on job task
name: Build Test Artifact
on:
push:
branches:
paths-ignore:
- 'docs/**'
jobs:
build:
name: Build and Upload Artifact
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Grant Execute Permission for gradlew
run: chmod +x ./gradlew
- name: Set up JDK 21
uses: actions/[email protected]
with:
java-version: '21'
distribution: 'temurin'
- name: Build
run: ./gradlew build
- name: Upload Build Artifacts
uses: actions/[email protected]
with:
name: JavaOctetEditor-snapshot-${{ github.run_number}}.jar
path: build/libs