File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 8080 runs-on : macos-15
8181 steps :
8282 - uses : actions/checkout@v4
83+ - name : Get version number
84+ id : vn
85+ run : awk '/AC_INIT/ {print "vn="$2}' configure.ac | sed "s/\[//; s/\]//; s/,//" >> "$GITHUB_OUTPUT"
86+ env :
87+ GH_TOKEN : ${{ github.token }}
8388 - name : Download artifacts
8489 uses : actions/download-artifact@v4
8590 with :
9297 binaries/dnmtools-*/dnmtools_* \
9398 -output dnmtools
9499 chmod +x dnmtools
95- - name : Get version number
96- id : vn
97- run : awk '/AC_INIT/ {print "vn="$2}' configure.ac | sed "s/\[//; s/\]//; s/,//" >> "$GITHUB_OUTPUT"
98- env :
99- GH_TOKEN : ${{ github.token }}
100+ tar -cf dnmtools-${{ steps.get-vn.outputs.vn }}-macOS.tar.gz dnmtools
100101 - name : Upload the lipo binary
101102 uses : actions/upload-artifact@v4
102103 with :
103- name : dnmtools-${{ steps.vn.outputs.vn }}-macOS
104+ name : dnmtools-${{ steps.vn.outputs.vn }}-macOS.tar.gz
104105 path : dnmtools
You can’t perform that action at this time.
0 commit comments