Skip to content

git_hash

git_hash #1

Workflow file for this run

name: release
on:
push:
tags: "*"
permissions:
contents: write
packages: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- id: vars
run: |
echo "version=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- run: chmod +x gradlew
- run: ./gradlew build publish
env:
VERSION: ${{ steps.vars.outputs.version }}
GITHUB_TOKEN: ${{ github.token }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
- uses: actions/upload-artifact@v4
with:
name: explosion-${{ steps.vars.outputs.version }}
path: ".localMaven/**"