mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 18:06:45 +00:00
37 lines
No EOL
864 B
YAML
37 lines
No EOL
864 B
YAML
name: Main workflow
|
|
on: [push, pull_request]
|
|
jobs:
|
|
# build:
|
|
# runs-on: ${{ matrix.operating-system }}
|
|
# strategy:
|
|
# matrix:
|
|
# operating-system: [ubuntu-latest, windows-latest]
|
|
# steps:
|
|
# - name: Checkout
|
|
# uses: actions/checkout@v2
|
|
# - name: Set Node.js 12.x
|
|
# uses: actions/setup-node@v1
|
|
# with:
|
|
# node-version: 12.x
|
|
# - name: npm install
|
|
# run: npm install
|
|
# - name: Lint
|
|
# run: npm run format-check
|
|
# - name: npm test
|
|
# run: npm test
|
|
|
|
test:
|
|
runs-on: ${{ matrix.operating-system }}
|
|
strategy:
|
|
matrix:
|
|
operating-system: [ubuntu-latest] #, windows-latest]
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Setup java 7
|
|
uses: ./
|
|
with:
|
|
java-version: 7.x
|
|
- run: |
|
|
which java
|
|
java --help |