Skip to content

Commit 78e9c0b

Browse files
committed
ci: point to latest Artifactory version
1 parent 8f1df6c commit 78e9c0b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ jobs:
3737
uses: jfrog/.github/actions/install-local-artifactory@main
3838
with:
3939
RTLIC: ${{ secrets.RTLIC }}
40+
env:
41+
# Pin Artifactory version to match working environment
42+
RT_VERSION: '7.120.3'
43+
ARTIFACTORY_VERSION: '7.120.3'
44+
JF_PRODUCT_VERSION: '7.120.3'
45+
PRODUCT_VERSION: '7.120.3'
4046

4147
- name: Install Java
4248
uses: actions/setup-java@v4
@@ -57,5 +63,10 @@ jobs:
5763
echo "Artifactory did not start in time"
5864
exit 1
5965
66+
- name: Print Artifactory version details
67+
run: |
68+
echo "Fetching Artifactory version JSON..."
69+
curl -sf http://localhost:8081/artifactory/api/system/version | tee artifactory-version.json | cat
70+
6071
- name: Run tests
6172
run: ./gradlew${{ matrix.gradlewSuffix }} clean test

0 commit comments

Comments
 (0)