Skip to content

Merge pull request #34 from boschglobal/bugfix-33 #2

Merge pull request #34 from boschglobal/bugfix-33

Merge pull request #34 from boschglobal/bugfix-33 #2

Workflow file for this run

name: deploy-release
concurrency: production
on:
push:
tags:
- 'release/v*'
permissions:
packages: write
jobs:
deployment:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Set Release Version
run: ./gradlew setReleaseVersion # Do not chain this command because it writes into a file which needs to be re-read inside the next gradle command
- name: Publish Library
run: ./gradlew publishReleasePublicationToGithubPackagesRepository
-Pgpr.repository=${{ github.repository }}
-Pgpr.user=${{ github.actor }}
-Pgpr.token=${{ secrets.GITHUB_TOKEN }}