Skip to content

Commit

Permalink
Add workflow to test build
Browse files Browse the repository at this point in the history
  • Loading branch information
Eder Leão Moosmann committed Dec 6, 2024
1 parent ffe992a commit dab59e0
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Test Workflow on Branch

on:
push:
branches:
- test-build

jobs:
test-build-on-branch:
runs-on: ubuntu-latest
container:
image: debian:bookworm
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Install Dependencies
run: |
apt-get -y update
apt-get -y install gradle default-jre-headless
- name: Build Package
run: |
./gradlew :distribution:packages:oss-no-jdk-deb:assemble \
-Dbuild.docker=false \
-Dbuild.snapshot=false \
-Dlicense.key=/dev/null
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: deb-packages
path: distribution/packages/deb/build/distributions
retention-days: 1

0 comments on commit dab59e0

Please sign in to comment.