Skip to content

Workflow file for this run

#
# Publish to GitHub
#
name: Publish Release Artifacts
on:
release:
types: [created]
permissions:
contents: write
packages: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '8.0.392+8'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Publish package
uses: gradle/[email protected]
with:
arguments: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Add Artifact to GitHub Release
uses: softprops/action-gh-release@v1
with:
files: build/libs/nanofix-*.jar