File tree Expand file tree Collapse file tree 2 files changed +34
-41
lines changed
Expand file tree Collapse file tree 2 files changed +34
-41
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2727 ref: `refs/tags/${title}`,
2828 sha: context.sha
2929 })
30+ create-release-dist :
31+ runs-on : ubuntu-latest
32+ needs : tag_release
33+ steps :
34+ - name : Checkout
35+ uses : actions/checkout@v4
36+ with :
37+ submodules : recursive
38+ - name : Install dependencies
39+ run : |
40+ sudo apt-get install -y nco which netcdf-bin libnetcdf-dev \
41+ libnetcdff-dev mpich gcc gfortran asciidoc docbook-xsl docbook-xml \
42+ python3 python3-numpy python3-pytest perl git make libtool autoconf
43+ - name : Configure
44+ run : |
45+ mkdir build && cd build
46+ autoreconf -if ../configure.ac
47+ ../configure
48+ - name : Build and create distribution file
49+ run : |
50+ cd build
51+ make
52+ make distcheck
53+ make dist
54+ - name : Create release draft and upload file
55+ uses : softprops/action-gh-release@v2
56+ with :
57+ files : |
58+ build/fre-nctools-*.*.tar.gz
59+ build/fre-nctools-*.*.*.tar.gz
60+ draft : True
61+ generate_release_notes : True
62+ make_latest : True
63+
You can’t perform that action at this time.
0 commit comments