-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
87 additions
and
10 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,31 @@ | ||
# This workflows will upload a Python Package using Twine when a release is created | ||
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries | ||
|
||
name: Publish ya2ro package to PyPi | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.10' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install setuptools wheel twine | ||
- name: Build and publish | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
python setup.py sdist bdist_wheel | ||
twine upload dist/* |
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM python:3.9 | ||
FROM python:3.10 | ||
|
||
RUN git clone https://github.com/oeg-upm/ya2ro | ||
|
||
RUN cd ya2ro && pip install . | ||
RUN cd ya2ro && pip install . | ||
|
||
RUN somef configure -a | ||
RUN somef configure -a |
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
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,15 @@ | ||
--- | ||
#----------------------------- | ||
# file_descriptor: "file_name" | ||
#----------------------------- | ||
input_to_vocab_yaml: "resources/input_to_vocab.yaml" | ||
template_html: "resources/template.html" | ||
template_help: "resources/help.html" | ||
template_landing: "resources/landing_page.html" | ||
output_html: "ro-crate-preview.html" | ||
output_html_help: "help.html" | ||
output_html_landing: "landing_page.html" | ||
output_jsonld: "ro-crate-metadata.json" | ||
htaccess: "resources/.htaccess" | ||
default_author_img: default_author.jpg | ||
GITHUB_PERSONAL_ACCESS_TOKEN: # ADD here your GitHub persnoal access token |
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
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,20 @@ | ||
# Mandatory field | ||
type: "paper" | ||
|
||
title: "Work done in SOSEN" | ||
|
||
datasets: | ||
- doi: https://doi.org/10.6084/m9.figshare.14916684.v1 | ||
- doi: https://doi.org/10.5281/zenodo.5139550 | ||
|
||
software: | ||
- link: https://github.com/KnowledgeCaptureAndDiscovery/somef | ||
|
||
bibliography: | ||
- https://dx.doi.org/10.1109/BigData47090.2019.9006447 | ||
|
||
authors: | ||
# Alternative way if participant has an ORCID | ||
- | ||
orcid: http://orcid.org/0000-0003-0454-7145 | ||
role: "Supervisor" |