Skip to content

Commit

Permalink
add release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jmkeil committed Nov 28, 2023
1 parent 58799a2 commit 96cb8a4
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build and Release
on:
pull_request:
push:
branches:
- '**'
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
runs-on: ubuntu-latest
container: obolibrary/robot:v1.9.5
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Generate RDF/XML and TTL Serializations in OWL API Style
run: |
robot \
convert \
--input om-2.0.rdf \
--output om-2.0.ttl \
convert \
--format owl \
--output om-2.0.rdf
- name: Store Artifacts
uses: actions/upload-artifact@v3
with:
path: om-2.0.*
- name: Release Files
if: github.ref_type == 'tag'
uses: softprops/action-gh-release@v1
with:
files: |
om-2.0.rdf
om-2.0.ttl

0 comments on commit 96cb8a4

Please sign in to comment.