From 0310c7bc97428c469ac67559c05f034a8f054da9 Mon Sep 17 00:00:00 2001 From: Hugo Renard Date: Thu, 31 Oct 2024 16:43:55 +0100 Subject: [PATCH] ci: use actions --- .forgejo/workflows/action.yml | 16 ++++++++++++++++ .gitlab-ci.yml | 10 ---------- 2 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 .forgejo/workflows/action.yml delete mode 100644 .gitlab-ci.yml diff --git a/.forgejo/workflows/action.yml b/.forgejo/workflows/action.yml new file mode 100644 index 0000000000..6a8ceb25e2 --- /dev/null +++ b/.forgejo/workflows/action.yml @@ -0,0 +1,16 @@ +on: [ push ] +jobs: + integration: + runs-on: docker + container: + image: alpine:latest + steps: + - run: apk add nodejs gradle + - uses: actions/checkout@v4 + - name: Build jars + run: | + gradle jar shadowjar + - uses: actions/upload-artifact@v4 + with: + name: jars + path: build/libs/ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 99347f14d3..0000000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,10 +0,0 @@ -package: - image: - name: gradle:jdk17 - script: - - gradle jar shadowjar - artifacts: - paths: - - build/libs/keycloak-scim-1.0-SNAPSHOT.jar - - build/libs/keycloak-scim-1.0-SNAPSHOT-all.jar - - build/libs/keycloak-scim-1.0-SNAPSHOT-all-legacy.jar