Publish #5
This file contains hidden or 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
# | |
# 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 }} |