Skip to content

Commit

Permalink
#1 build project
Browse files Browse the repository at this point in the history
  • Loading branch information
p-a-s-c-a-l committed Apr 6, 2020
1 parent 4017522 commit 469af62
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,26 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!
# Install ckanapi
- name: Install ckanapi client
run: sudo pip install ckanapi

# Runs a set of commands using the runners shell
- name: Run a multi-line script
- name: Install Node Dependecies
run: npm install

# Download JSON Export from CKAN
- name: Download JSON EXport fro CKAN
run: |
echo Add other actions to build,
echo test, and deploy your project.
node --version
ls -l
npm install
npm run download-groups
npm run download-organizations
# Generate Reports
- name: Download JSON EXport fro CKAN
run: |
npm run process-groups
npm run process-organizations
- name: Build project # This would actually build your project, using zip for an example artifact
run: |
Expand All @@ -52,7 +62,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
release_name: Data Management Plan v${{ github.ref }}
body: |
[CLARTIY H2020](https://myclimateservices.eu/) Data Management Plan v$GITHUB_REF generated by $GITHUB_ACTOR from [CLARITY CKAN](https://ckan.myclimateservice.eu/)
Build #$GITHUB_RUN_NUMBER triggered by $GITHUB_SHA
draft: true
prerelease: true
- name: Download math result for job 1
Expand Down

0 comments on commit 469af62

Please sign in to comment.