Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sayali M authored and Sayali M committed Nov 13, 2024
1 parent 4afd60d commit 7effb59
Showing 1 changed file with 59 additions and 59 deletions.
118 changes: 59 additions & 59 deletions .github/workflows/generate-upload-fossa-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,65 +20,65 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

- name: Set up JDK for Datical
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
cache: 'maven'
server-id: datical
server-username: REPO_MAVEN_USER
server-password: REPO_MAVEN_PASSWORD

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

#look for dependencies in maven
- name: maven-settings-xml-action for Liquibase
uses: whelk-io/maven-settings-xml-action@v22
with:
repositories: |
[
{
"id": "liquibase",
"url": "https://maven.pkg.github.com/liquibase/liquibase",
"releases": {
"enabled": "false"
},
"snapshots": {
"enabled": "true",
"updatePolicy": "always"
}
},
{
"id": "liquibase-pro",
"url": "https://maven.pkg.github.com/liquibase/liquibase-pro",
"releases": {
"enabled": "false"
},
"snapshots": {
"enabled": "true",
"updatePolicy": "always"
}
}
]
servers: |
[
{
"id": "liquibase-pro",
"username": "liquibot",
"password": "${{ secrets.LIQUIBOT_PAT }}"
},
{
"id": "liquibase",
"username": "liquibot",
"password": "${{ secrets.LIQUIBOT_PAT }}"
}
]
#
# - name: Set up JDK for Datical
# uses: actions/setup-java@v4
# with:
# distribution: 'temurin'
# java-version: '11'
# cache: 'maven'
# server-id: datical
# server-username: REPO_MAVEN_USER
# server-password: REPO_MAVEN_PASSWORD
#
# - name: Set up JDK for Liquibase
# uses: actions/setup-java@v4
# with:
# distribution: 'temurin'
# java-version: '17'
#
# #look for dependencies in maven
# - name: maven-settings-xml-action for Liquibase
# uses: whelk-io/maven-settings-xml-action@v22
# with:
# repositories: |
# [
# {
# "id": "liquibase",
# "url": "https://maven.pkg.github.com/liquibase/liquibase",
# "releases": {
# "enabled": "false"
# },
# "snapshots": {
# "enabled": "true",
# "updatePolicy": "always"
# }
# },
# {
# "id": "liquibase-pro",
# "url": "https://maven.pkg.github.com/liquibase/liquibase-pro",
# "releases": {
# "enabled": "false"
# },
# "snapshots": {
# "enabled": "true",
# "updatePolicy": "always"
# }
# }
# ]
# servers: |
# [
# {
# "id": "liquibase-pro",
# "username": "liquibot",
# "password": "${{ secrets.LIQUIBOT_PAT }}"
# },
# {
# "id": "liquibase",
# "username": "liquibot",
# "password": "${{ secrets.LIQUIBOT_PAT }}"
# }
# ]

- name: Get the commit sha
id: get_commit_sha
Expand Down

0 comments on commit 7effb59

Please sign in to comment.