Test Ballerina Library Package Releases with Staging Central #88
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Standard Library Releases with Staging Central | |
on: | |
workflow_dispatch: | |
inputs: | |
tag: | |
description: Branch/Release Tag(v2201.1.0) of the distribution | |
required: true | |
default: master | |
jobs: | |
test-patch-versions: | |
name: Test Patch Standard Library Releases | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
with: | |
repository: 'ballerina-platform/ballerina-distribution' | |
ref: ${{github.event.inputs.tag}} | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- name: Run Standard Library Tests | |
env: | |
packageUser: ${{ github.actor }} | |
packagePAT: ${{ secrets.GITHUB_TOKEN }} | |
devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }} | |
run: ./gradlew clean testStdlibs --stacktrace --scan --console=plain --no-daemon --continue | |
- name: Run Standard Library Tests w/ Staging | |
env: | |
packageUser: ${{ github.actor }} | |
packagePAT: ${{ secrets.GITHUB_TOKEN }} | |
devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }} | |
run: ./gradlew testStdlibsWithStaging --stacktrace --scan --console=plain --no-daemon --continue | |
test-minor-versions: | |
name: Test Minor Standard Library Releases | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
with: | |
repository: 'ballerina-platform/ballerina-distribution' | |
ref: ${{github.event.inputs.tag}} | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- name: Run Standard Library Tests | |
env: | |
packageUser: ${{ github.actor }} | |
packagePAT: ${{ secrets.GITHUB_TOKEN }} | |
devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }} | |
run: ./gradlew clean testStdlibs --stacktrace --scan --console=plain --no-daemon --continue | |
- name: Run Standard Library Tests w/ Staging | |
env: | |
packageUser: ${{ github.actor }} | |
packagePAT: ${{ secrets.GITHUB_TOKEN }} | |
devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }} | |
run: ./gradlew testStdlibsWithStaging -PtestMinorVersionDifference --stacktrace --scan --console=plain --no-daemon --continue |