Skip to content
This repository was archived by the owner on Dec 29, 2025. It is now read-only.

Update Libs.java

Update Libs.java #90

Workflow file for this run

name: Build
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up JDK 1.8/8
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn clean package -B
- name: Rename JAR file
run: |
JAR_FILE=$(ls target/*.jar | head -n 1)
cp "$JAR_FILE" "jsEngine#${{ github.run_number }}.jar"
- name: Upload JAR artifact
uses: actions/upload-artifact@v4
with:
name: jsEngine#${{ github.run_number }}
path: jsEngine#${{ github.run_number }}.jar