chore: Fix using GitHub actions form v1.x.x for v1 (#3117) #6123
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: CI Testing | |
on: | |
push: | |
branches: [ v1.x.x ] | |
pull_request: | |
branches: [ v1.x.x ] | |
workflow_dispatch: | |
env: | |
JOB_ID: ${{ github.run_id }}-${{ github.run_number }} | |
jobs: | |
BuildAndTest: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- uses: ./.github/actions/setup | |
- name: Build with Gradle | |
run: > | |
./gradlew build runStartUpCheck --info -Partifactory_user=${{ secrets.ARTIFACTORY_USERNAME }} -Partifactory_password=${{ secrets.ARTIFACTORY_PASSWORD }} | |
- name: Store results | |
uses: actions/upload-artifact@v2 | |
if: always() | |
with: | |
name: CITests-${{ env.JOB_ID }} | |
path: | | |
integration-tests/build/reports/** | |
- uses: ./.github/actions/teardown |