Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update simple-pipe.yml #5

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
59 changes: 59 additions & 0 deletions .github/workflows/simple-pipe.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# This workflow will build a Java project with Gradle initially
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle

name: Simple Pipe

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: greetings-jar
path: build/libs
test-run:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download candidate artifacts
uses: actions/download-artifact@v2
with:
name: greetings-jar
- shell: bash
run: |
java -jar greetings-actions.jar ${{ github.event.inputs.myValues }}



count-args:

runs-on: ubuntu-latest

steps:
- id: report-count
uses:jeevanavnai/arg-count-action@main
with:
arguments-to-count: ${{ github.event.inputs.myValues }}
- run: echo
- shell: bash
run: |
echo argument count is ${{ steps.report-count.outputs.arg-count }}

26 changes: 0 additions & 26 deletions extra/ simple-pipe.yml

This file was deleted.