Skip to content

Publish

Publish #3

Workflow file for this run

#
# IRClib - A Java Internet Relay Chat library
# Copyright (C) 2006-2025 Christoph Schwering <schwering@gmail.com>
# and/or other contributors as indicated by the @author tags.
#
# This library and the accompanying materials are made available under the
# terms of the
# - GNU Lesser General Public License,
# - Apache License, Version 2.0 and
# - Eclipse Public License v1.0.
# This library is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY.
#
name: Publish
on:
workflow_dispatch: {}
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Publish package
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}