Reduce confidence when credit card spans are bordered by dashes #195
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: Build | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Cache Maven packages | |
uses: actions/cache@v1 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: adopt | |
architecture: x64 | |
cache: maven | |
server-id: philterd-repository-snapshots | |
server-username: MAVEN_USERNAME | |
server-password: MAVEN_PASSWORD | |
- name: Build | |
run: mvn --batch-mode --update-snapshots test | |
env: | |
MAVEN_USERNAME: ${{ secrets.PHILTERD_ARTIFACTS_USER }} | |
MAVEN_PASSWORD: ${{ secrets.PHILTERD_ARTIFACTS_TOKEN }} | |
- name: Deploy | |
if: ${{ github.ref == 'refs/heads/main' }} | |
run: mvn --batch-mode --update-snapshots package deploy | |
env: | |
MAVEN_USERNAME: ${{ secrets.PHILTERD_ARTIFACTS_USER }} | |
MAVEN_PASSWORD: ${{ secrets.PHILTERD_ARTIFACTS_TOKEN }} |