-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Petr Komissarov
committed
Feb 6, 2024
1 parent
6fc4369
commit 615e400
Showing
1 changed file
with
8 additions
and
13 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 |
---|---|---|
|
@@ -20,10 +20,8 @@ on: | |
env: | ||
DOTNET_VERSION: 8 | ||
GITHUB_PAT: ${{ secrets.SERVICE_ACCOUNT_TOKEN }} | ||
GRADLE_VERSION: 7.4 | ||
JAVA_DISTRIBUTION: "adopt" | ||
JAVA_DISTRIBUTION: "corretto" | ||
JAVA_VERSION: 8 | ||
MAVEN_VERSION: 3.9.6 | ||
PYTHON_VERSION: 3.12 | ||
TEMP_FILE: tmp/output.txt | ||
TMS_ADAPTER_MODE: 1 | ||
|
@@ -147,6 +145,7 @@ jobs: | |
uses: actions/setup-java@v4 | ||
with: | ||
distribution: ${{ env.JAVA_DISTRIBUTION }} | ||
java-package: jdk | ||
java-version: ${{ env.JAVA_VERSION }} | ||
- name: Setup python | ||
uses: actions/setup-python@v5 | ||
|
@@ -270,24 +269,20 @@ jobs: | |
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: ${{ env.DOTNET_VERSION }} | ||
- name: Setup gradle | ||
uses: gradle/gradle-build-action@v3 | ||
with: | ||
gradle-version: ${{ env.GRADLE_VERSION }} | ||
- name: Setup java and maven | ||
uses: s4u/[email protected] | ||
- name: Setup java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: ${{ env.JAVA_DISTRIBUTION }} | ||
java-package: jdk | ||
java-version: ${{ env.JAVA_VERSION }} | ||
maven-version: ${{ env.MAVEN_VERSION }} | ||
- name: Setup python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
- name: Setup environment | ||
run: | | ||
gradle --no-daemon :${{ matrix.adapter_name }}:jar | ||
gradle --no-daemon :${{ env.TMS_JAVA_COMMONS }}:jar | ||
ls -R | ||
./gradlew --no-daemon :${{ matrix.adapter_name }}:jar | ||
./gradlew --no-daemon :${{ env.TMS_JAVA_COMMONS }}:jar | ||
dotnet build --configuration Release --property WarningLevel=0 api-validator-dotnet | ||
pip install testit-cli | ||
- name: Create TestRun | ||
|