Skip to content

Commit 541ae68

Browse files
committed
Fix Setup Artifactory in the integration tests
1 parent 1f1a914 commit 541ae68

File tree

1 file changed

+12
-24
lines changed

1 file changed

+12
-24
lines changed

.github/workflows/integrationTests.yml

+12-24
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,9 @@ jobs:
184184
${{ runner.os }}-maven-
185185
186186
- name: Setup Artifactory
187-
run: |
188-
go install github.com/jfrog/jfrog-testing-infra/local-rt-setup@latest
189-
~/go/bin/local-rt-setup
190-
env:
191-
RTLIC: ${{secrets.RTLIC}}
192-
GOPROXY: direct
187+
uses: jfrog/.github/actions/install-local-artifactory@main
188+
with:
189+
RTLIC: ${{ secrets.RTLIC }}
193190

194191
# Run tests
195192
- name: Run Tests
@@ -306,12 +303,9 @@ jobs:
306303
${{ runner.os }}-maven-
307304
308305
- name: Setup Artifactory
309-
run: |
310-
go install github.com/jfrog/jfrog-testing-infra/local-rt-setup@latest
311-
~/go/bin/local-rt-setup
312-
env:
313-
RTLIC: ${{secrets.RTLIC}}
314-
GOPROXY: direct
306+
uses: jfrog/.github/actions/install-local-artifactory@main
307+
with:
308+
RTLIC: ${{ secrets.RTLIC }}
315309

316310
# Run tests
317311
- name: Run Tests
@@ -365,12 +359,9 @@ jobs:
365359
${{ runner.os }}-maven-
366360
367361
- name: Setup Artifactory
368-
run: |
369-
go install github.com/jfrog/jfrog-testing-infra/local-rt-setup@latest
370-
~/go/bin/local-rt-setup
371-
env:
372-
RTLIC: ${{secrets.RTLIC}}
373-
GOPROXY: direct
362+
uses: jfrog/.github/actions/install-local-artifactory@main
363+
with:
364+
RTLIC: ${{ secrets.RTLIC }}
374365

375366
# Run tests
376367
- name: Run Tests
@@ -419,12 +410,9 @@ jobs:
419410
${{ runner.os }}-maven-
420411
421412
- name: Setup Artifactory
422-
run: |
423-
go install github.com/jfrog/jfrog-testing-infra/local-rt-setup@latest
424-
~/go/bin/local-rt-setup
425-
env:
426-
RTLIC: ${{secrets.RTLIC}}
427-
GOPROXY: direct
413+
uses: jfrog/.github/actions/install-local-artifactory@main
414+
with:
415+
RTLIC: ${{ secrets.RTLIC }}
428416

429417
# Run tests
430418
- name: Run Tests

0 commit comments

Comments
 (0)