-
Notifications
You must be signed in to change notification settings - Fork 870
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix_#657_add_proxy_environment_variables_f…
…or_npm_postinstalls
- Loading branch information
Showing
97 changed files
with
12,432 additions
and
485 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Build | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
build: | ||
name: "Run build" | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
|
||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
- name: Use cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.m2 | ||
key: "${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}" | ||
restore-keys: | | ||
${{ runner.os }}-maven3- | ||
- name: Configure Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: "8" | ||
distribution: temurin | ||
- name: "Run Maven" | ||
shell: bash | ||
run: mvn clean install --batch-mode -PintegrationTests -DintegrationTestProfiles=it-${{ runner.os }} | ||
- name: "Deploy" | ||
if: github.repository_owner == 'eirslett' && github.ref == 'refs/heads/master' && matrix.os == 'ubuntu-latest' | ||
shell: bash | ||
env: | ||
GPG_KEY: ${{ secrets.GPG_KEY }} | ||
GPG_KEY_NAME: ${{ secrets.GPG_KEY_NAME }} | ||
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | ||
OSSRH_JIRA_USERNAME: ${{ secrets.OSSRH_JIRA_USERNAME }} | ||
OSSRH_JIRA_PASSWORD: ${{ secrets.OSSRH_JIRA_PASSWORD }} | ||
run: | | ||
export GPG_TTY=$(tty) | ||
echo -e "$GPG_KEY" | gpg --import --passphrase $GPG_PASSPHRASE --batch --yes | ||
mvn --settings settings-github.xml -B deploy -Prelease -DskipTests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
version: '{build}' | ||
skip_tags: true | ||
clone_depth: 10 | ||
environment: | ||
MAVEN_VERSION: 3.5.4 | ||
matrix: | ||
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0 | ||
- JAVA_HOME: C:\Program Files\Java\jdk11 | ||
install: | ||
- ps: | | ||
Add-Type -AssemblyName System.IO.Compression.FileSystem | ||
if (!(Test-Path -Path "C:\maven" )) { | ||
Write-Host "Downloading Maven $env:MAVEN_VERSION" | ||
(new-object System.Net.WebClient).DownloadFile("http://apache.rediris.es/maven/maven-3/$env:MAVEN_VERSION/binaries/apache-maven-$env:MAVEN_VERSION-bin.zip", 'C:\maven-bin.zip') | ||
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven") | ||
} | ||
- cmd: SET M2_HOME=C:\maven\apache-maven-%MAVEN_VERSION% | ||
# Prepend Java entry, remove Ruby entry (C:\Ruby193\bin;) from PATH | ||
- cmd: SET PATH=%M2_HOME%\bin;%JAVA_HOME%\bin;%PATH:C:\Ruby193\bin;=%; | ||
# Required to avoid errors with JDK 8 because TSL 1.0 & 1.1 support was removed | ||
- cmd: SET MAVEN_OPTS=-Xmx2g -Dhttps.protocols=TLSv1.2 | ||
- cmd: SET JAVA_OPTS=-Xmx2g | ||
- cmd: mvn --version | ||
- cmd: java -version | ||
build_script: | ||
- mvn clean package --batch-mode -DskipTest -Dhttps.protocols=TLSv1.2 | ||
test_script: | ||
- mvn clean install --batch-mode | ||
cache: | ||
- C:\maven\ -> appveyor.yml | ||
- C:\Users\appveyor\.m2\ -> pom.xml |
Oops, something went wrong.