Skip to content

chore: release 1.0.12 #14

chore: release 1.0.12

chore: release 1.0.12 #14

Workflow file for this run

name: Deploy
on:
push:
tags: ['v*']
jobs:
deploy:
name: Deploy
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- uses: gradle/wrapper-validation-action@v1
- uses: gradle/gradle-build-action@v2
name: Deploy
with:
arguments: build publishCodebookPublicationToPapermcRepository --stacktrace
env:
ORG_GRADLE_PROJECT_papermcUsername: ${{ secrets.NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_papermcPassword: ${{ secrets.NEXUS_PASSWORD }}
- name: Get tag name
id: get_tag
shell: bash
run: |
tag_name="$(echo $GITHUB_REF | cut -d / -f 3)"
echo "tag=$tag_name" >> $GITHUB_OUTPUT
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.get_tag.outputs.tag }}
name: 'Release ${{ steps.get_tag.outputs.tag }}'
prerelease: false
draft: false
files: |
build/libs/*.jar
codebook-cli/build/libs/*-all.jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}