Skip to content

Commit

Permalink
place settings.xml configuration just before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
apupier committed Jan 30, 2025
1 parent 2388a2c commit 4f3d9f8
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/camel_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,6 @@ jobs:
java-version: 17
distribution: "temurin"

- name: Add Red Hat Maven GA repository to settings.xml for 4.8.0 productized
uses: s4u/[email protected]
if: ${{ startsWith(matrix.camel-version, '4.8.0') }}
with:
repositories: '[{"id":"redhat.ga","name":"Red Hat Maven repository GA","url":"https://maven.repository.redhat.com/ga"}]'
pluginRepositories: '[{"id":"redhat.ga","name":"Red Hat Maven repository GA","url":"https://maven.repository.redhat.com/ga"}]'

- name: Check settings.xml created
run: cat ~/.m2/settings.xml

- name: Install JBang ubuntu
run: |
curl -Ls https://sh.jbang.dev | bash -s - app setup
Expand All @@ -68,7 +58,17 @@ jobs:

- name: Allow unprivileged user namespace (ubuntu)
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0


- name: Add Red Hat Maven GA repository to settings.xml for 4.8.0 productized
uses: s4u/[email protected]
if: ${{ startsWith(matrix.camel-version, '4.8.0') }}
with:
repositories: '[{"id":"redhat.ga","name":"Red Hat Maven repository GA","url":"https://maven.repository.redhat.com/ga"}]'
pluginRepositories: '[{"id":"redhat.ga","name":"Red Hat Maven repository GA","url":"https://maven.repository.redhat.com/ga"}]'
githubServer: false

- name: Check settings.xml created
run: cat ~/.m2/settings.xml
- name: ui test
id: uiTest
run: xvfb-run --auto-servernum npm run ui-test
Expand Down

0 comments on commit 4f3d9f8

Please sign in to comment.