fix(edc-extension): remove unused maven repos #3
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 and Publish EDC Extension | |
on: | |
push: | |
branches: ["main"] | |
paths: ["logging-house-client/**/*"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build-and-publish: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Validate Gradle wrapper | |
uses: gradle/wrapper-validation-action@ccb4328a959376b642e027874838f60f8e596de3 | |
- name: Build package | |
if: ${{ github.ref != 'refs/heads/main' }} | |
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 | |
with: | |
arguments: build | |
- name: Publish package | |
if: ${{ github.ref == 'refs/heads/main' }} | |
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 | |
with: | |
arguments: publish | |
env: | |
USERNAME: ${{ github.actor }} | |
TOKEN: ${{ github.token }} |