33 lines
539 B
YAML
33 lines
539 B
YAML
|
name: Continuous Integration
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- main
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
|
||
|
permissions:
|
||
|
contents: read
|
||
|
|
||
|
jobs:
|
||
|
test-action:
|
||
|
name: GitHub Actions Test
|
||
|
runs-on: local-test
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
id: checkout
|
||
|
uses: https://gitea.joylink.club/actions/checkout@v4
|
||
|
|
||
|
- name: Test Local Action
|
||
|
id: test-action
|
||
|
uses: ./
|
||
|
with:
|
||
|
maven-version: 3.8.2
|
||
|
|
||
|
- name: Check Setup Result
|
||
|
id: check-setup
|
||
|
run: mvn -version
|