Skip to content

fix type finder

fix type finder #5

# Used when a commit is pushed to the repository
name: build-snapshot
on:
push:
branches:
- main
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_SECRET: ${{ secrets.MAVEN_SECRET }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Extract current branch name
shell: bash
# bash pattern expansion to grab branch name without slashes
run: ref="${GITHUB_REF#refs/heads/}" && echo "branch=${ref////-}" >> $GITHUB_OUTPUT
id: ref
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Build artifacts
run: ./gradlew build publish
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: Taufuscator
path: build/libs