add first nx plugin && first nx executor #412
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
# - name: Build with Maven | |
# run: mvn -B package --file pom.xml | |
my_hello_world_job: # this job uses my custom github action. (my-hello-world-docker-action folder) | |
runs-on: ubuntu-latest | |
name: A job to say hello using a custom github action that I create | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: set chmod for entrypoint file | |
run: chmod +x ./my-hello-world-docker-action/entrypoint.sh | |
- name: hello world | |
id: hello | |
uses: ./my-hello-world-docker-action | |
with: | |
who-to-greet: 'Mona the Octocat' | |
# Use the output from the `hello` step | |
- name: Get the output time | |
run: echo "The time was ${{ steps.hello.outputs.time }}" | |