-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 940 Bytes
/
cmemc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
name: cmemc
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
use_cmemc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: install cmemc
run: |
pip install -q cmem-cmemc
cmemc --version
- name: use cmemc
run: |
cmemc graph import graph.ttl $GRAPH
cmemc graph count $GRAPH
cmemc graph delete $GRAPH
env:
GRAPH: "https://github.com/seebi/cmemc-workflow"
CMEM_BASE_URI: ${{ secrets.MY_CMEM_BASE_URI }}
OAUTH_GRANT_TYPE: ${{ secrets.MY_OAUTH_GRANT_TYPE }}
OAUTH_CLIENT_ID: ${{ secrets.MY_OAUTH_CLIENT_ID }}
OAUTH_CLIENT_SECRET: ${{ secrets.MY_OAUTH_CLIENT_SECRET }}