Skip to content

[chore] updated corda artifactory locations (#85) #5

[chore] updated corda artifactory locations (#85)

[chore] updated corda artifactory locations (#85) #5

Workflow file for this run

##############################################################################################
# Copyright Accenture. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
##############################################################################################
# Build corda os docker images triggered by :
# - push on main branch for latest tags
# - create tag vx.y.z for release tags
# - Can be triggered manually
name: Build CorDapps jar
on:
workflow_dispatch:
inputs:
corda_version:
default: '4.7'
push:
branches:
- main
paths:
- '.github/workflows/jar_cordapps.yml'
- 'examples/supplychain-app/corda/cordApps_springBoot/**'
jobs:
# on push to main branch, create docker tags latest
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '8'
- name: Publish to Github Packages
run: |
WDIR=`pwd`
cd ${WDIR}/examples/supplychain-app/corda/cordApps_springBoot
./gradlew clean
./gradlew test
./gradlew build
./gradlew publish --stacktrace
env:
REPO_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
REPO_USERNAME: ${{ github.actor }}
REPO_URL: https://maven.pkg.github.com/${{ github.repository }}