class-obf build #5
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: class-obf build | |
on: | |
workflow_dispatch: | |
env: | |
VERSION: "1.1.0" | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: checkout the source | |
uses: actions/checkout@v4 | |
with: | |
path: class-obf | |
- name: set up java 8 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
cache: maven | |
- name: build core | |
run: | | |
mvn -B clean package -DskipTests --file pom.xml | |
mv target/class-obf-${{ env.VERSION }}-jar-with-dependencies.jar class-obf-${{ env.VERSION }}.jar | |
working-directory: class-obf | |
- name: upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: class-obf | |
path: | | |
class-obf/class-obf-${{ env.VERSION }}.jar |