-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backport zenodo release CI
- Loading branch information
Showing
2 changed files
with
66 additions
and
0 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,37 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
name: Release OnDemand | ||
steps: | ||
- name: Set version | ||
id: version | ||
run: echo ::set-output name=version::${GITHUB_REF#refs/*/v} | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Ruby using Bundler | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: "2.7.1" | ||
bundler: "2.1.4" | ||
bundler-cache: true | ||
- name: Generate tar.gz | ||
run: bundle exec rake package:tar | ||
env: | ||
VERSION: ${{ steps.version.outputs.version }} | ||
- name: Upload to Zenodo | ||
uses: rseng/[email protected] | ||
with: | ||
token: ${{ secrets.OSC_ROBOT_ZENODO_TOKEN }} | ||
version: ${{ steps.version.outputs.version }} | ||
zenodo_json: .zenodo.json | ||
archive: packaging/v${{ steps.version.outputs.version }}.tar.gz | ||
doi: '10.5281/zenodo.6323791' |
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,29 @@ | ||
{ | ||
"upload_type": "software", | ||
"description": "This is the source code for Open OnDemand. You can find all releases on github at https://github.com/OSC/ondemand/releases.", | ||
"title": "Open OnDemand Source Code", | ||
"creators": [ | ||
{ | ||
"affiliation": "Ohio SuperComputer Center", | ||
"name": "Jeff Ohrstrom" | ||
}, | ||
{ | ||
"affiliation": "Ohio SuperComputer Center", | ||
"name": "Travis Ravert" | ||
}, | ||
{ | ||
"affiliation": "Ohio SuperComputer Center", | ||
"name": "Gerald Byrket" | ||
}, | ||
{ | ||
"affiliation": "Ohio SuperComputer Center", | ||
"name": "Trey Dockendorf" | ||
}, | ||
{ | ||
"affiliation": "Ohio SuperComputer Center", | ||
"name": "Alan Chalker" | ||
} | ||
], | ||
"keywords": ["gateway", "hpc", "ruby", "rails"], | ||
"license": "MIT" | ||
} |