Skip to content

Commit 71a897b

Browse files
.github/workflows/dnmtools_release_macos.yml: attempting to put the binary directly into the desired tar.gz format
1 parent 8969aa6 commit 71a897b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/dnmtools_release_macos.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ jobs:
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:
@@ -92,13 +97,9 @@ jobs:
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

0 commit comments

Comments
 (0)