Skip to content

Commit

Permalink
Update github-actions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
raczeja authored Feb 24, 2025
1 parent faa546e commit 5e11687
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
$tag = $tags[0]
echo "{dBTestCompareGeneratorVersion}={value}" >> "$tag"
if: startsWith(github.ref, 'refs/tags/')
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
- run: dotnet build --configuration ${{ env.buildConfiguration }} /p:Version=${{ env.dBTestCompareGeneratorVersion }}
- name: Install Docker Compose and build docker image
run: |
Expand Down Expand Up @@ -86,7 +91,7 @@ jobs:
./DBTestCompareGenerator
.\set-tokens-for-tests.ps1 -OutDir ".\test-definitions\" -FileType "cmpSqlResults-config.xml" -token "\$\{SQL_SERVER\}|\$\{SQL_SERVERDBNAME\}|\$\{SQL_SERVER_USERNAME\}|\$\{SQL_SERVER_PASSWORD\}" -Value "${{ env.SQL_SERVER }}|${{ env.SQL_SERVERDBNAME }}|${{ env.SQL_SERVER_USERNAME }}|${{ env.SQL_SERVER_PASSWORD }}"
$DBTestCompare = (Resolve-Path ".\DBTestCompare-*-SNAPSHOT-jar-with-dependencies.jar").ToString()
/usr/bin/java --add-opens java.base/java.lang=ALL-UNNAMED -jar $DBTestCompare
/usr/bin/java -jar $DBTestCompare
- name: Zip generated objects definition
uses: montudor/action-zip@v0.1.0
with:
Expand Down

0 comments on commit 5e11687

Please sign in to comment.