Skip to content

Commit

Permalink
ci: update github workflow
Browse files Browse the repository at this point in the history
we aren't going to deploy using github anymore
  • Loading branch information
averen committed Sep 10, 2024
1 parent de60e73 commit bc2aa92
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 32 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Compile the source code
uses: gradle/gradle-build-action@v2
with:
gradle-version: current
arguments: build
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Build with Gradle
run: ./gradlew build
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/deploy-production.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Build changes on main
on:
push:
branches:
- main

jobs:
build:
uses: sandrabot/sandra/.github/workflows/build.yml@main

0 comments on commit bc2aa92

Please sign in to comment.