Skip to content

Merge pull request #20 from Hutch79/rewrite/everything #33

Merge pull request #20 from Hutch79/rewrite/everything

Merge pull request #20 from Hutch79/rewrite/everything #33

Workflow file for this run

name: Compiling Action
# Controls when the workflow will run
on: [pull_request, push, workflow_dispatch]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Step 1 - Checkout Repository
uses: actions/checkout@v2
# Setting up JDK 11
- name: Step 2 - Setting up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
# Package Program Using Maven
- name: Step 3 - Package Project using Maven
run: mvn -B package --file pom.xml
# List everything of the current directory
- name: Step 4 - List the current directory
run: ls -a
# Target folder completion
- name: Step 4 - List items in target folder
run: |
cd target
ls -a
# Target folder completion
- name: Step 5 - Copying Files for download
uses: actions/upload-artifact@v2
with:
name: Published Jar Files
path: target/*.jar