Skip to content

Commit

Permalink
Create build_artifact.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PTOM76 authored May 13, 2024
1 parent 8813bfd commit 8960364
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build_artifact.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build artifacts

on: [push]


jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Make gradle wrapper excecutable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew

- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build

- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: build/libs/

0 comments on commit 8960364

Please sign in to comment.