File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 1919 - uses : actions/checkout@v4
2020 with :
2121 submodules : recursive
22+ - name : Get version number
23+ id : get-vn
24+ run : |
25+ awk '/AC_INIT/ {print "vn="$2}' configure.ac | sed "s/\[//; s/\]//; s/,//" >> "$GITHUB_OUTPUT"
26+ env :
27+ GH_TOKEN : ${{ github.token }}
2228 - name : Configure and build
2329 env :
2430 SCRIPT : |
@@ -54,17 +60,12 @@ jobs:
5460 autoreconf -i && \
5561 mkdir build && cd build && \
5662 ../configure --with-libdeflate && \
57- make -j4 LDFLAGS="-static-libgcc -static-libstdc++ -s"
63+ make -j4 LDFLAGS="-static-libgcc -static-libstdc++ -s" && \
64+ tar -cf dnmtools-${{ steps.get-vn.outputs.vn }}-Linux.tar.gz dnmtools
5865 run : |
5966 docker exec build-container bash -c "$SCRIPT"
60- - name : Get version number
61- id : get-vn
62- run : |
63- awk '/AC_INIT/ {print "vn="$2}' configure.ac | sed "s/\[//; s/\]//; s/,//" >> "$GITHUB_OUTPUT"
64- env :
65- GH_TOKEN : ${{ github.token }}
6667 - name : Upload the binary
6768 uses : actions/upload-artifact@v4
6869 with :
69- name : dnmtools-${{ steps.get-vn.outputs.vn }}-Linux
70- path : build/dnmtools
70+ name : dnmtools-${{ steps.get-vn.outputs.vn }}-Linux.tar.gz
71+ path : build/dnmtools-${{ steps.get-vn.outputs.vn }}-Linux.tar.gz
You can’t perform that action at this time.
0 commit comments