Skip to content

Commit

Permalink
ci: add high level workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret committed Feb 24, 2025
1 parent 3b09622 commit 7d69c97
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main-and-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Main and PR pipeline

on:
push:
branches:
- main

workflow_call:

pull_request:
branches:
- main

jobs:
checks:
uses: ./.github/workflows/checks.yml

build:
uses: ./.github/workflows/build.yml
with:
is_release: false

34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Include ontology assets in the release

on:
push:
tags:
- "v*"

jobs:

build:
uses: ./.github/workflows/build.yml
with:
is_release: true

make_release:
runs-on: ubuntu-latest
needs:
build

steps:

- uses: actions/checkout@v4

- name: get schema assets
uses: actions/[email protected]
with:
name: schema-bundle
path: build/

- name: create release
uses: softprops/action-gh-release@v2
with:
files: build/*

0 comments on commit 7d69c97

Please sign in to comment.