ECWID-173015 New IS: Transform data on referer sources for weekly email #1320
This file contains hidden or 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: On pull request | |
| on: [ pull_request ] | |
| concurrency: pull-request | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout full repository history | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '17' | |
| distribution: 'corretto' | |
| cache: 'gradle' | |
| - name: Build, run tests and upload dev snapshot to Maven Central with Gradle | |
| run: | | |
| ./gradlew devSnapshot printDevSnapshotReleaseNote printSanitizedVersion | |
| cat sanitized_version.md >> $GITHUB_STEP_SUMMARY | |
| env: | |
| STORE_ID: ${{ secrets.STORE_ID }} | |
| API_TOKEN: ${{ secrets.API_TOKEN }} | |
| API_HOST: ${{ secrets.API_HOST }} | |
| GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} | |
| GPG_SIGNING_PASSWORD: ${{ secrets.GPG_SIGNING_PASSWORD }} | |
| OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} | |
| OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} | |
| GITHUB_HEAD_REF: ${{ github.head_ref }} | |
| GITHUB_HEAD_SHA: ${{ github.event.pull_request.head.sha }} | |
| - name: Upload artifacts with checks results | |
| uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: check-results | |
| path: | | |
| ${{ github.workspace }}/build/reports/tests/test/* | |
| ${{ github.workspace }}/build/reports/detekt/detekt.html | |
| - name: Upload static analysis results | |
| uses: github/codeql-action/upload-sarif@v3 | |
| if: always() | |
| with: | |
| sarif_file: ${{ github.workspace }}/build/reports/detekt/detekt.sarif | |
| category: "Detekt Scanning" |