Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cubewhy committed Jan 1, 2024
1 parent 2b0827f commit 6d4e44d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: gradle
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
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

on:
- push

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
submodules: recursive
- name: Java setup
uses: actions/setup-java@v2
with:
distribution: "zulu"
java-version: 17
cache: "gradle"
- name: Set outputs
id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: Build
run: chmod +x ./gradlew && ./gradlew build
- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: celestial
path: build/libs/celestial-*.jar

0 comments on commit 6d4e44d

Please sign in to comment.