Skip to content

Publish

Publish #63

Workflow file for this run

name: Publish
on: workflow_dispatch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
concurrency:
group: ${{ github.ref_name }}
jobs:
create-github-release:
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/[email protected]
with:
ref: ${{ github.ref_name }}
- run: .scripts/github/release.sh
publish-maven-publications:
runs-on: ubuntu-22.04
permissions:
packages: write
steps:
- uses: actions/[email protected]
with:
ref: ${{ github.ref_name }}
- uses: ./.github/actions/runGradleTask
with:
preTaskString: -Pversion=$GITHUB_REF_NAME
# TODO Change this to publishToMavenCentral
task: :library:publishAllPublicationsToGithubPackagesRepository --continue --no-configuration-cache