This is an automated email from the ASF dual-hosted git repository.
piergiorgio pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/manifoldcf.git
The following commit(s) were added to refs/heads/trunk by this push:
new 6a34221b9 Updated github actions (CONNECTORS-1754)
6a34221b9 is described below
commit 6a34221b93a7792f5cecc832319bfe6ee832c2fb
Author: Piergiorgio Lucidi <[email protected]>
AuthorDate: Fri Sep 6 11:04:46 2024 +0200
Updated github actions (CONNECTORS-1754)
---
.github/workflows/create-docker-image.yml | 18 +++++++++---------
.github/workflows/create-release-candidate.yml | 26 +++++++++++++-------------
.github/workflows/license-check.yml | 2 +-
.github/workflows/publish-maven-release.yml | 25 ++++++++-----------------
.github/workflows/publish-maven-snapshot.yml | 2 +-
5 files changed, 32 insertions(+), 41 deletions(-)
diff --git a/.github/workflows/create-docker-image.yml
b/.github/workflows/create-docker-image.yml
index 754681df3..0ada10843 100644
--- a/.github/workflows/create-docker-image.yml
+++ b/.github/workflows/create-docker-image.yml
@@ -84,7 +84,7 @@ jobs:
ref: release-${{ steps.mcf.outputs.release }}
- name: Set up OpenJDK ${{ steps.jdk.outputs.version }} Temurin x64
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
java-version: '${{ steps.jdk.outputs.version }}'
distribution: 'temurin'
@@ -105,13 +105,13 @@ jobs:
wget
https://raw.githubusercontent.com/apache/manifoldcf/trunk/src/main/docker/JDK-${{
steps.jdk.outputs.version }}/Dockerfile
- name: Set up QEMU
- uses: docker/[email protected]
+ uses: docker/[email protected]
- name: Set up Docker Buildx
- uses: docker/[email protected]
+ uses: docker/[email protected]
- name: Login to Docker Hub
- uses: docker/[email protected]
+ uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -135,7 +135,7 @@ jobs:
org.opencontainers.image.licenses=Apache-2.0
- name: Build and push ManifoldCF Docker Image
- uses: docker/[email protected]
+ uses: docker/[email protected]
with:
context: .
file: Dockerfile
@@ -189,13 +189,13 @@ jobs:
rm apache-manifoldcf-${{ steps.mcf.outputs.release }}-bin.tar.gz
- name: Set up QEMU
- uses: docker/[email protected]
+ uses: docker/[email protected]
- name: Set up Docker Buildx
- uses: docker/[email protected]
+ uses: docker/[email protected]
- name: Login to Docker Hub
- uses: docker/[email protected]
+ uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -219,7 +219,7 @@ jobs:
org.opencontainers.image.licenses=Apache-2.0
- name: Build and push ManifoldCF Docker Image
- uses: docker/[email protected]
+ uses: docker/[email protected]
with:
context: .
file: Dockerfile
diff --git a/.github/workflows/create-release-candidate.yml
b/.github/workflows/create-release-candidate.yml
index 5091b6efd..64b2597a5 100644
--- a/.github/workflows/create-release-candidate.yml
+++ b/.github/workflows/create-release-candidate.yml
@@ -39,7 +39,7 @@ jobs:
uses: actions/[email protected]
- name: Set up OpenJDK 11 Temurin x64
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
java-version: '11'
distribution: 'temurin'
@@ -138,7 +138,7 @@ jobs:
cp CHANGES.txt apache-manifoldcf-${{
steps.artifactVersion.outputs.version }}.CHANGES.txt
- name: Upload artifacts - KEYS - text format
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
name: apache-manifoldcf-${{ steps.artifactVersion.outputs.version
}}.KEYS
path: apache-manifoldcf-${{ steps.artifactVersion.outputs.version
}}.KEYS
@@ -154,7 +154,7 @@ jobs:
asset_content_type: text/plain
- name: Upload artifacts - CHANGES
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
name: apache-manifoldcf-${{ steps.artifactVersion.outputs.version
}}.CHANGES.txt
path: apache-manifoldcf-${{ steps.artifactVersion.outputs.version
}}.CHANGES.txt
@@ -170,7 +170,7 @@ jobs:
asset_content_type: text/plain
- name: Upload artifacts - Binary - zip format
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
name: apache-manifoldcf-${{ steps.artifactVersion.outputs.version
}}-bin.zip
path: apache-manifoldcf-${{ steps.artifactVersion.outputs.version
}}-bin.zip
@@ -186,7 +186,7 @@ jobs:
asset_content_type: application/zip
- name: Upload artifacts - Binary - tar.gz format
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
name: apache-manifoldcf-${{ steps.artifactVersion.outputs.version
}}-bin.tar.gz
path: apache-manifoldcf-${{ steps.artifactVersion.outputs.version
}}-bin.tar.gz
@@ -202,7 +202,7 @@ jobs:
asset_content_type: application/gzip
- name: Upload artifacts - Lib - tar.gz format
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
name: apache-manifoldcf-${{ steps.artifactVersion.outputs.version
}}-lib.tar.gz
path: apache-manifoldcf-${{ steps.artifactVersion.outputs.version
}}-lib.tar.gz
@@ -218,7 +218,7 @@ jobs:
asset_content_type: application/gzip
- name: Upload artifacts - Lib - zip format
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
name: apache-manifoldcf-${{ steps.artifactVersion.outputs.version
}}-lib.zip
path: apache-manifoldcf-${{ steps.artifactVersion.outputs.version
}}-lib.zip
@@ -234,7 +234,7 @@ jobs:
asset_content_type: application/zip
- name: Upload artifacts - Source code - tar.gz format
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
name: apache-manifoldcf-${{ steps.artifactVersion.outputs.version
}}-src.tar.gz
path: apache-manifoldcf-${{ steps.artifactVersion.outputs.version
}}-src.tar.gz
@@ -250,7 +250,7 @@ jobs:
asset_content_type: application/gzip
- name: Upload artifacts - Source code - zip format
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
name: apache-manifoldcf-${{ steps.artifactVersion.outputs.version
}}-src.zip
path: apache-manifoldcf-${{ steps.artifactVersion.outputs.version
}}-src.zip
@@ -266,13 +266,13 @@ jobs:
asset_content_type: application/zip
- name: Set up QEMU
- uses: docker/[email protected]
+ uses: docker/[email protected]
- name: Set up Docker Buildx
- uses: docker/[email protected]
+ uses: docker/[email protected]
- name: Login to Docker Hub
- uses: docker/[email protected]
+ uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -299,7 +299,7 @@ jobs:
run: sed -i 's/SNAPSHOT/${{ github.event.inputs.releasecandidatetag
}}/g' Dockerfile;
- name: Build and push ManifoldCF Docker Image
- uses: docker/[email protected]
+ uses: docker/[email protected]
with:
context: .
file: Dockerfile
diff --git a/.github/workflows/license-check.yml
b/.github/workflows/license-check.yml
index 7cd5751be..a05bc3498 100644
--- a/.github/workflows/license-check.yml
+++ b/.github/workflows/license-check.yml
@@ -29,7 +29,7 @@ jobs:
uses: actions/[email protected]
- name: Set up OpenJDK 11 Temurin x64
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
java-version: '11'
distribution: 'temurin'
diff --git a/.github/workflows/publish-maven-release.yml
b/.github/workflows/publish-maven-release.yml
index 53659917e..3d5d848cb 100644
--- a/.github/workflows/publish-maven-release.yml
+++ b/.github/workflows/publish-maven-release.yml
@@ -72,7 +72,7 @@ jobs:
ref: ${{ github.event.inputs.release }}
- name: Set up Java
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
java-version: '11'
distribution: 'temurin'
@@ -109,24 +109,10 @@ jobs:
MAVEN_CENTRAL_TOKEN: ${{ secrets.NEXUS_STAGE_DEPLOYER_PW }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- run: |
- mvn -B -e -q org.sonatype.plugins:nexus-staging-maven-plugin:deploy \
- -DskipTests \
- -DskipITs \
- -Dcargo-build.profile=release \
- -Dcargo-build.features=services-all \
- -DserverId=apache.releases.https \
- -DnexusUrl=https://repository.apache.org \
- -Papache-release
+ run: mvn -B deploy -DskipTests -DskipITs -Dmaven.javadoc.skip=true
-Papache-release --threads=1
- name: Deploy local staged artifacts
if: ${{ github.event_name != 'pull_request' }}
- run: |
- ./mvn org.sonatype.plugins:nexus-staging-maven-plugin:deploy-staged \
- -DskipStagingRepositoryClose=true \
- -DserverId=apache.releases.https \
- -DnexusUrl=https://repository.apache.org \
- -Papache-release
env:
NEXUS_USER: ${{ secrets.NEXUS_STAGE_DEPLOYER_USER }}
NEXUS_PW: ${{ secrets.NEXUS_STAGE_DEPLOYER_PW }}
@@ -135,4 +121,9 @@ jobs:
MAVEN_CENTRAL_TOKEN: ${{ secrets.NEXUS_STAGE_DEPLOYER_PW }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
-
+ run: |
+ ./mvn org.sonatype.plugins:nexus-staging-maven-plugin:deploy-staged \
+ -DskipStagingRepositoryClose=true \
+ -DserverId=apache.releases.https \
+ -DnexusUrl=https://repository.apache.org \
+ -Papache-release
diff --git a/.github/workflows/publish-maven-snapshot.yml
b/.github/workflows/publish-maven-snapshot.yml
index d147ad54c..bc47fff78 100644
--- a/.github/workflows/publish-maven-snapshot.yml
+++ b/.github/workflows/publish-maven-snapshot.yml
@@ -36,7 +36,7 @@ jobs:
uses: actions/[email protected]
- name: Set up Java
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
java-version: '11'
distribution: 'temurin'