keycloak-scim/.forgejo/workflows/main.yml
Hugo Renard dec4609259
Some checks failed
/ build (push) Successful in 59s
/ release (push) Failing after 32s
ci: use actions
2024-10-31 18:13:49 +01:00

30 lines
No EOL
670 B
YAML

on: [push]
jobs:
build:
runs-on: docker
container:
image: alpine:3
steps:
- run: apk add git nodejs gradle
- uses: actions/checkout@v4
- name: Build jars
run: |
gradle jar shadowjar
- uses: actions/upload-artifact@v3
with:
name: jars
path: build/libs/
release:
runs-on: docker
container:
image: node:lts-bookworm
needs: [build]
if: github.ref_type == 'tag'
steps:
- uses: actions/download-artifact@v3
with:
name: jars
- uses: actions/forgejo-release@v2
with:
direction: upload
release-dir: jars