-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from johnbeve/master
Updates Reflecting Shift to Minimal OWL Implementation, Among Other Things...
- Loading branch information
Showing
89 changed files
with
12,143 additions
and
4,283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
name: Bug Template | ||
about: Create a report to help us improve | ||
title: 'BUG: [TITLE SUMMARIZING ISSUE]' | ||
labels: bug | ||
assignees: johnbeve | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
- OS: [e.g. iOS] | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Feature Template | ||
about: Suggest updates to our repo | ||
title: 'FEATURE: [SUMMARY TITLE OF FEATURE]' | ||
labels: '' | ||
assignees: johnbeve | ||
|
||
--- | ||
|
||
**Describe the feature you'd like added** | ||
A clear and concise description of changes you'd like to see, with motivation for those changes. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
name: Build, Test, Draft Release | ||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
permissions: | ||
contents: write | ||
|
||
env: | ||
cache-path: build/lib | ||
artifacts-path: build/artifacts | ||
release-build-content-type: application/owl | ||
cache-key: build-cache-dependencies | ||
|
||
jobs: | ||
ontology_release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it. | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Restore cached dependencies | ||
id: restore-cache | ||
uses: actions/cache/restore@v3 | ||
with: | ||
path: ${{ env.cache-path }} | ||
# TODO this should be a file with a list of dependencies, to check if it changes and retrigger the cache | ||
#key: ${{ env-cache-key}}-${{ hashFiles('**/package-lock.json') }} | ||
key: ${{ runner.os }}-${{ env.cache-key }} | ||
|
||
- name: List directory contents | ||
run: ls -la /home/runner/work/BFO-2020 | ||
|
||
- name: Build and test ontology release | ||
run: make all | ||
working-directory: /home/runner/work/BFO-2020 | ||
|
||
# Run the main steps here | ||
- name: Build and test ontology release | ||
id: build_release | ||
run: | | ||
make -d all | ||
echo "RELEASE_FILE_PATH=$(make output-release-filepath)" >> $GITHUB_OUTPUT | ||
echo "RELEASE_NAME=$(make output-release-name)" >> $GITHUB_OUTPUT | ||
# Save any artifact files produced even if tests fail | ||
- name: Save artifacts | ||
uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
name: ontology_release_results | ||
path: ${{ env.artifacts-path }} | ||
|
||
# Save cache even if tests fail and only if a cache wasn't restored | ||
- name: Save dependencies to cache | ||
id: save-cache | ||
uses: actions/cache/save@v3 | ||
if: always() && steps.restore-cache.outputs.cache-hit != 'true' | ||
with: | ||
path: ${{ env.cache-path }} | ||
key: ${{ runner.os }}-${{ env.cache-key }} | ||
|
||
# Draft a Github Release of the release build | ||
- name: Draft Github Release | ||
uses: actions/create-release@v1 | ||
id: draft_release | ||
with: | ||
draft: true | ||
prerelease: false | ||
release_name: ${{ steps.build_release.outputs.RELEASE_NAME }} | ||
tag_name: ${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}-action-id | ||
# body_path: CHANGELOG.md | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
|
||
- name: Upload Github release build | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.draft_release.outputs.upload_url }} | ||
asset_path: ${{ steps.build_release.outputs.RELEASE_FILE_PATH }} | ||
asset_name: ${{ steps.build_release.outputs.RELEASE_FILE_PATH }} | ||
asset_content_type: ${{env.release-build-content-type}} |
Oops, something went wrong.