This is an automated email from the ASF dual-hosted git repository.
ntimofeev pushed a commit to branch github-action-test
in repository https://gitbox.apache.org/repos/asf/cayenne.git
The following commit(s) were added to refs/heads/github-action-test by this
push:
new 772a097e6 Test GitHub actions
772a097e6 is described below
commit 772a097e6438f7c25ddd1073c74f93d25de87e8f
Author: Nikita Timofeev <[email protected]>
AuthorDate: Fri Nov 11 09:42:01 2022 +0300
Test GitHub actions
---
.github/workflows/verify-deploy-on-push.yml | 9 ++++++---
.github/workflows/verify-on-pr.yml | 2 ++
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/verify-deploy-on-push.yml
b/.github/workflows/verify-deploy-on-push.yml
index d78ff2bd1..23edadb9d 100644
--- a/.github/workflows/verify-deploy-on-push.yml
+++ b/.github/workflows/verify-deploy-on-push.yml
@@ -26,6 +26,7 @@ jobs:
name: JDK ${{ matrix.jdk }}, DB ${{ matrix.db-profile }}
continue-on-error: ${{ matrix.jdk == '19' }}
if: github.repository == 'apache/cayenne'
+
strategy:
matrix:
jdk: [11, 17]
@@ -34,6 +35,7 @@ jobs:
- jdk: 19
db-profile: postgres-tc
fail-fast: false # finish all jobs anyway
+
env:
JDK_VERSION: ${{ matrix.jdk }}
@@ -60,7 +62,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- - uses: ./.github/actions/export-pom-version
+ - name: Export version
+ uses: ./.github/actions/export-pom-version
- name: Setup java
uses: actions/setup-java@v3
@@ -74,5 +77,5 @@ jobs:
run: mvn deploy -DskipTests --settings .github/maven_settings.xml
if: contains(env.POM_VERSION, '-SNAPSHOT')
env:
- MAVEN_USERNAME: ${{ secrets.NEXUS_DEPLOY_USERNAME }}
- MAVEN_PASSWORD: ${{ secrets.NEXUS_DEPLOY_PASSWORD }}
\ No newline at end of file
+ MAVEN_USERNAME: ${{ secrets.NEXUS_USER }}
+ MAVEN_PASSWORD: ${{ secrets.NEXUS_PW }}
\ No newline at end of file
diff --git a/.github/workflows/verify-on-pr.yml
b/.github/workflows/verify-on-pr.yml
index f91361699..79390a45a 100644
--- a/.github/workflows/verify-on-pr.yml
+++ b/.github/workflows/verify-on-pr.yml
@@ -25,11 +25,13 @@ jobs:
runs-on: ubuntu-latest
name: JDK ${{ matrix.jdk }}, DB ${{ matrix.db-profile }}
if: github.repository == 'apache/cayenne'
+
strategy:
matrix:
jdk: [11, 17]
db-profile: [hsql, h2, derby, mysql-tc, postgres-tc, sqlserver-tc]
fail-fast: true
+
env:
JDK_VERSION: ${{ matrix.jdk }}