Skip to content

Add initial source code #1

Add initial source code

Add initial source code #1

Workflow file for this run

name: test-build
on:
push:
paths:
- 'src/**'
- 'build.gradle'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '21'
- name: Get Short Identifier
uses: benjlevesque/[email protected]
id: short-sha
- name: Build
id: build
env:
VERSION_IDENTIFIER: SNAPSHOT+${{ steps.short-sha.outputs.sha }}
run: ./gradlew build githubActionOutput --stacktrace
- name: GitHub Action Artifact
uses: actions/upload-artifact@v3
with:
name: ${{ steps.build.outputs.artifact_name }}
path: ${{ steps.build.outputs.artifact_path }}