mirror of
https://github.com/s4u/maven-settings-action.git
synced 2026-02-12 00:05:49 +08:00
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.0 to v2.3.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/master/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.3.0...28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b) Signed-off-by: dependabot[bot] <support@github.com>
43 lines
934 B
YAML
43 lines
934 B
YAML
name: Test
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches-ignore:
|
|
- '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@v2.3.1
|
|
|
|
- uses: actions/setup-node@v2.0.0
|
|
with:
|
|
node-version: '12.x'
|
|
|
|
- uses: actions/setup-java@v1
|
|
with:
|
|
java-version: '1.8'
|
|
|
|
- run: npm version
|
|
- run: npm ci
|
|
- run: npm test
|
|
|
|
- uses: ./
|
|
with:
|
|
servers: '[{"id": "serverId", "username": "username", "password": "password"}]'
|
|
properties: '[{"prop1": "value1"}, {"prop2": "value2"}]'
|
|
mirrors: '[{"id": "mirrorId", "name": "mirrorName", "mirrorOf": "mirrorOf", "url": "mirrorUrl"}]'
|
|
sonatypeSnapshots: true
|
|
|
|
- run: cat ~/.m2/settings.xml
|
|
shell: bash
|