Skip to content

Commit

Permalink
Enable GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadelessFox committed Feb 21, 2024
1 parent 3159c21 commit c56189b
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read

steps:
- uses: actions/checkout@v4

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

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

- name: Prepare artifacts
run: unzip build/distributions/*.zip -d build/distributions

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: decima
path: build/distributions/*/

0 comments on commit c56189b

Please sign in to comment.