keycloak-scim/.forgejo/workflows/main.yml
Hugo Renard b9e910341b
Some checks failed
/ build (push) Successful in 8s
/ release (push) Failing after 4s
wip
2024-11-26 16:05:51 +01:00

22 lines
527 B
YAML

on: [push, tag]
jobs:
build:
runs-on: native
steps:
- uses: actions/checkout@v4
- run: nix build .# --out-link keycloak-scim.jar
- uses: actions/upload-artifact@v3
with:
path: keycloak-scim.jar
release:
runs-on: native
needs: [build]
if: github.ref_type == 'tag'
steps:
- uses: actions/download-artifact@v3
with:
path: assets
- uses: actions/forgejo-release@v2
with:
direction: upload
release-dir: assets