keycloak-scim/.forgejo/workflows/main.yml

23 lines
527 B
YAML
Raw Normal View History

2024-11-26 14:47:47 +00:00
on: [push, tag]
2024-10-31 15:43:55 +00:00
jobs:
build:
2024-11-26 14:47:47 +00:00
runs-on: native
2024-10-31 15:43:55 +00:00
steps:
- uses: actions/checkout@v4
2024-11-26 14:47:47 +00:00
- run: nix build .# --out-link keycloak-scim.jar
2024-10-31 15:43:55 +00:00
- uses: actions/upload-artifact@v3
with:
2024-11-26 14:47:47 +00:00
path: keycloak-scim.jar
2024-10-31 15:43:55 +00:00
release:
2024-11-26 14:47:47 +00:00
runs-on: native
2024-10-31 15:43:55 +00:00
needs: [build]
if: github.ref_type == 'tag'
steps:
- uses: actions/download-artifact@v3
with:
2024-11-26 14:47:47 +00:00
path: assets
2024-10-31 15:43:55 +00:00
- uses: actions/forgejo-release@v2
with:
direction: upload
2024-11-26 14:47:47 +00:00
release-dir: assets