Skip to content

Commit

Permalink
Removed redundant bits
Browse files Browse the repository at this point in the history
  • Loading branch information
parj-hsbc committed Aug 15, 2024
1 parent 305e7bb commit ab4ddbe
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/snapshot-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,6 @@ on:
- main

jobs:
unit_tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'

- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-m2tests-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2tests

- name: Run tests
run: |
mvn \
clean test
snapshot_build:
name: Snapshot build and publish
runs-on: ubuntu-latest
Expand All @@ -58,13 +34,6 @@ jobs:
java-version: '11'
distribution: 'temurin'
cache: 'maven'

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Cache local Maven repository
uses: actions/cache@v4
Expand Down

0 comments on commit ab4ddbe

Please sign in to comment.