Skip to content

Commit 92e48d8

Browse files
authored
Update main.yml
1 parent b5e91dd commit 92e48d8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

Diff for: .github/workflows/main.yml

+29
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ jobs:
2020
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_NON_SHARED=FALSE -DBUILD_SHARED=TRUE -DHAVE_ZLIB=FALSE -B build .
2121
cd build/libdwarf
2222
cmake --build .
23+
24+
- name: Release file
25+
uses: djnicholson/[email protected]
26+
with:
27+
token: ${{ secrets.GITHUB_TOKEN }}
28+
asset-name: 'libdwarf.so'
29+
file: 'build/libdwarf/libdwarf.so'
30+
tag-name: 'latest'
31+
release-name: 'Latest build'
2332

2433
build-windows:
2534
runs-on: windows-latest
@@ -39,6 +48,15 @@ jobs:
3948
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DBUILD_NON_SHARED=FALSE -DBUILD_SHARED=TRUE -DHAVE_ZLIB=FALSE -B build .
4049
cd build/libdwarf
4150
cmake --build .
51+
52+
- name: Release file
53+
uses: djnicholson/[email protected]
54+
with:
55+
token: ${{ secrets.GITHUB_TOKEN }}
56+
asset-name: 'libdwarf.dll'
57+
file: 'build/libdwarf/libdwarf.dll'
58+
tag-name: 'latest'
59+
release-name: 'Latest build'
4260

4361
build-macos:
4462
runs-on: macos-latest
@@ -53,3 +71,14 @@ jobs:
5371
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_NON_SHARED=FALSE -DBUILD_SHARED=TRUE -DHAVE_ZLIB=FALSE -B build .
5472
cd build/libdwarf
5573
cmake --build .
74+
75+
- name: Release file
76+
uses: djnicholson/[email protected]
77+
with:
78+
token: ${{ secrets.GITHUB_TOKEN }}
79+
asset-name: 'libdwarf.dylib'
80+
file: 'build/libdwarf/libdwarf.dylib'
81+
tag-name: 'latest'
82+
release-name: 'Latest build'
83+
84+

0 commit comments

Comments
 (0)