Skip to content

Merge pull request #30 from gooddata/rkis/upgrade #30

Merge pull request #30 from gooddata/rkis/upgrade

Merge pull request #30 from gooddata/rkis/upgrade #30

Workflow file for this run

---
on:
push:
tags:
- "gooddata-server-oauth2-*.*.*"
- "*.*.*"
jobs:
###########################
# BUILD & PUBLISH STAGE
###########################
test-kotlin:
runs-on:
group: infra1-runners-arc
labels: runners-cxa-xlarge
steps:
- uses: actions/checkout@v4
- name: cache
uses: actions/cache@v4
with:
key: kotlin-build
path: .gradle
- name: Get Tag Name
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Publish to Nexus and to GitLab with Gradle Wrapper
env:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
GITLAB_PACKAGES_UPLOAD_TOKEN: ${{ secrets.GITLAB_PACKAGES_UPLOAD_TOKEN }}
run: |
./gradlew clean publish -Pversion=$TAG_NAME --info