Skip to content

Commit

Permalink
chore: dupping the settings file
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj committed Oct 30, 2024
1 parent bf57957 commit 023f670
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Prepare Docker build context
if: ${{ matrix.maven }}
run: cp .github/settings.xml.template ${{ matrix.package }}/

- uses: bcgov-nr/[email protected]
name: Build (${{ matrix.package }})
with:
Expand Down
12 changes: 12 additions & 0 deletions backend/settings.xml.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!-- settings.xml.template -->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>github</id>
<username>${GITHUB_USERNAME}</username>
<password>${GITHUB_TOKEN}</password>
</server>
</servers>
</settings>
12 changes: 12 additions & 0 deletions legacy/settings.xml.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!-- settings.xml.template -->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>github</id>
<username>${GITHUB_USERNAME}</username>
<password>${GITHUB_TOKEN}</password>
</server>
</servers>
</settings>
12 changes: 12 additions & 0 deletions processor/settings.xml.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!-- settings.xml.template -->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>github</id>
<username>${GITHUB_USERNAME}</username>
<password>${GITHUB_TOKEN}</password>
</server>
</servers>
</settings>

0 comments on commit 023f670

Please sign in to comment.