File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 6
6
deploy :
7
7
if : ${{ success() && contains(github.ref, 'refs/tags') }}
8
8
runs-on : ubuntu-latest
9
+ env :
10
+ REPORTS_DIR : ${{ github.workspace }}/reports
11
+ CHANGES_HTML : ${{ github.workspace }}/reports/CHANGES_${{ github.ref_name }}.html
9
12
10
13
steps :
11
14
- uses : actions/checkout@v3
29
32
# prefer a partially generated release than none at all
30
33
- name : Generate Changelog
31
34
id : zenodo_metadata
32
- env :
33
- REPORTS_DIR : ${{ github.workspace }}/reports
34
- CHANGES_HTML : ${{ github.workspace }}/reports/CHANGES_${{ github.ref_name }}.html
35
35
run : |
36
36
make generate-changes-html VERSION=${{ github.ref_name }} || true
37
- echo "ZENODO_DESCRIPTION=$(cat ${{ env.CHANGES_HTML }} | tr -d '\n' || echo '')" >> $GITHUB_ENV
38
37
cat ${{ env.CHANGES_HTML }}
39
38
40
39
- name : Run Zenodo Publish
46
45
zenodo_json : .zenodo.json
47
46
html_url : ${{ github.server_url }}/${{ github.repository }}/tree/${{ github.ref_name }} # GitHub tag link
48
47
archive : ${{ env.ZENODO_ARCHIVE }}
49
- description : ${{ env.ZENODO_DESCRIPTION }}
48
+ description_file : ${{ env.CHANGES_HTML }}
50
49
51
50
# DOI for all versions. Leaving this blank (the default) will create
52
51
# a new DOI on every release. Use a DOI that represents all versions will
You can’t perform that action at this time.
0 commit comments