Skip to content

Commit

Permalink
Update settings xml
Browse files Browse the repository at this point in the history
  • Loading branch information
ram-pairx2 committed Sep 11, 2024
1 parent 016325b commit 0d40dda
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/feature-to-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ jobs:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: ${{ matrix.java }}

- name: Set up Maven settings
run: |
mkdir -p ~/.m2
echo "${{ secrets.SETTINGS_XML }}" > ~/.m2/settings.xml
env:
SETTINGS_XML: ${{ secrets.SETTINGS_XML }}

# Set up dependency cache
- name: Cache local Maven repository
uses: actions/cache@v4
Expand Down Expand Up @@ -61,12 +68,6 @@ jobs:
java-version: "11"
distribution: "temurin"
architecture: x64
- name: Set up Maven settings
run: |
mkdir -p ~/.m2
echo "${{ secrets.SETTINGS_XML }}" > ~/.m2/settings.xml
env:
SETTINGS_XML: ${{ secrets.SETTINGS_XML }}
- name: Build with Maven
run: mvn clean package
- name: Setup CLI
Expand Down

0 comments on commit 0d40dda

Please sign in to comment.