Skip to content

Commit

Permalink
improve pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelatwefox committed Dec 7, 2023
1 parent 9ee834e commit d465887
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy-to-maven-central.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path

name: Deploy to Maven Central

on:
workflow_call:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Test
run: |
echo $RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}
- name: Show context
run: echo '${{ toJson(github.event) }}'

0 comments on commit d465887

Please sign in to comment.