Skip to content

Commit

Permalink
add artifacts build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zekroTJA committed May 24, 2024
1 parent 332b740 commit 19fd5e6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build Artifacts
on:
push:
branches:
- "*"
workflow_dispatch:

jobs:
build_artifcats:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4

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

- name: Build with Gradle
run: ./gradlew build

- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: jar
path: build/libs/
retention-days: 30

0 comments on commit 19fd5e6

Please sign in to comment.