Skip to content

Adjusting credentials #21

Adjusting credentials

Adjusting credentials #21

---
name: Publish persistent-cookie-jar-okhttp Library
on:
push:
tags:
- 'v**'
branches:
- 'datastore-kotlin-impl'
env:
REPO_ARTIFACTS_URL: ${{ secrets.REPO_ARTIFACTS_URL }}
REPO_USERID: ${{ secrets.REPO_USERID }}
REPO_PASSWORD: ${{ secrets.REPO_PASSWORD }}
REPO_PUBLISH_URL: ${{ secrets.REPO_PUBLISH_URL }}
REPO_PUBLISH_USERID: ${{ secrets.REPO_PUBLISH_USERID }}
REPO_PUBLISH_PW: ${{ secrets.REPO_PUBLISH_PW }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/config-action
- name: Run Unit Tests
run: ./gradlew persistent-cookie-jar-okhttp:test
- name: Publish Library
run: ./gradlew --stacktrace -PrepoPublishURL=$REPO_PUBLISH_URL -PrepoPublishUsername=$REPO_PUBLISH_USERID -PrepoPublishPassword=$REPO_PUBLISH_PW clean persistent-cookie-jar-okhttp:assembleRelease publish