Skip to content

Commit

Permalink
add workflow cause for some reason it wasnt there
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysdh540 committed Sep 5, 2024
1 parent ef1a6dc commit c4f2a7d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build
on: [ workflow_dispatch, push, pull_request ]

jobs:
build:
if: "!contains(github.event.head_commit.message, '[skip]')"
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v4

- name: setup java
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17

- name: setup gradle
uses: gradle/gradle-build-action@v2.4.2
with:
cache-read-only: false

- name: do the build
run: ./gradlew assemble
continue-on-error: true

- name: upload artifacts
uses: actions/upload-artifact@v4
with:
name: interiors-artifacts-v${{ github.run_number }}
path: |
*/build/libs/*.jar

0 comments on commit c4f2a7d

Please sign in to comment.