Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into releases/v2
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Sep 5, 2020
2 parents 41ac50e + 4eefa81 commit c61c04a
Show file tree
Hide file tree
Showing 6 changed files with 1,515 additions and 1,159 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: '09:09'
open-pull-requests-limit: 10
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
time: '09:09'
open-pull-requests-limit: 10
11 changes: 6 additions & 5 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
name: "Audit"
name: Audit
on:
pull_request:
push:
branches-ignore:
- 'dependabot/*'
- 'dependabot/**'
schedule:
- cron: '09 22 * * *'

jobs:
test:
audit:
name: Audit
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
fail-fast: false
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2.3.2

- uses: actions/setup-node@v1
- uses: actions/setup-node@v2.1.1
with:
node-version: '12.x'

Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
name: "Test"
name: Test
on:
pull_request:
push:
branches-ignore:
- 'dependabot/*'
- 'dependabot/**'
schedule:
- cron: '22 22 * * 5'

jobs:
test:
name: Test
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
fail-fast: false
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2.3.2

- uses: actions/setup-node@v1
- uses: actions/setup-node@v2.1.1
with:
node-version: '12.x'

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,53 +28,53 @@ See [action.yml](action.yml)
Create default ```settings.xml```:
```yml
steps:
- uses: s4u/maven-settings-action@v2.1.0
- uses: s4u/maven-settings-action@v2.1.1
```
Create ```settings.xml``` with servers section:
```yml
steps:
- uses: s4u/maven-settings-action@v2.1.0
- uses: s4u/maven-settings-action@v2.1.1
with:
servers: '[{"id": "serverId", "username": "username", "password": "password"}]'
```

Create ```settings.xml``` with mirrors section:
```yml
steps:
- uses: s4u/maven-settings-action@v2.1.0
- uses: s4u/maven-settings-action@v2.1.1
with:
mirrors: '[{"id": "mirrorId", "name": "mirrorName", "mirrorOf": "mirrorOf", "url": "mirrorUrl"}]'
```

Create ```settings.xml``` with maven properties:
```yml
steps:
- uses: s4u/maven-settings-action@v2.1.0
- uses: s4u/maven-settings-action@v2.1.1
with:
properties: '[{"propertyName1": "propertyValue1"}, {"propertyName2": "propertyValue2"}]'
```

Create ```settings.xml``` with https://oss.sonatype.org/content/repositories/snapshots in repository list
```yml
steps:
- uses: s4u/maven-settings-action@v2.1.0
- uses: s4u/maven-settings-action@v2.1.1
with:
sonatypeSnapshots: true
```

Do not override existing ```settings.xml```, from version 2.0 file is override by default :
```yml
steps:
- uses: s4u/maven-settings-action@v2.1.0
- uses: s4u/maven-settings-action@v2.1.1
with:
override: false
```

Do not add github to server in ```settings.xml```, by default is added:
```yml
steps:
- uses: s4u/maven-settings-action@v2.1.0
- uses: s4u/maven-settings-action@v2.1.1
with:
githubServer: false
```
Expand Down
Loading

0 comments on commit c61c04a

Please sign in to comment.