diff --git a/.github/workflows/upload_snapshot.yml b/.github/workflows/upload_snapshot.yml new file mode 100644 index 000000000..af4722e18 --- /dev/null +++ b/.github/workflows/upload_snapshot.yml @@ -0,0 +1,20 @@ +name: finmath smart derivative contract + +#only push new SNAPSHOTS from develop +on: + push: + branches: + - develop + +jobs: + bCP1ld: + name: Java 17 build and unit testing + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Java + uses: actions/setup-java@v1 + with: + java-version: 17 + - name: upload SNAPSHOT to GitLab + run: mvn -s github_SNAPSHOT_settings.xml clean install deploy \ No newline at end of file diff --git a/github_SNAPSHOT_settings.xml b/github_SNAPSHOT_settings.xml new file mode 100644 index 000000000..08f708f3b --- /dev/null +++ b/github_SNAPSHOT_settings.xml @@ -0,0 +1,25 @@ + + + + + + + gitlab + + + + Deploy-Token + ${DEPLOY_TOKEN} + + + Private-Token + ${PRIVATE_TOKEN} + + + + + + + diff --git a/pom.xml b/pom.xml index a0a3d0d0d..c8907869b 100644 --- a/pom.xml +++ b/pom.xml @@ -962,6 +962,10 @@ + + gitlab + https://gitlab.com/api/v4/projects/33978063/packages/maven +