Remove java-yml library that is not used by known project #64
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: java-utils | |
on: | |
workflow_dispatch: | |
release: | |
types: [ created ] | |
push: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'corretto' | |
cache: 'maven' | |
- name: Build | |
run: mvn clean package | |
- name: Deploy | |
if: ${{ success() && format('refs/heads/{0}', github.event.repository.default_branch) == github.ref }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: mvn deploy --batch-mode -DskipTests |