Skip to content

Commit 252fea8

Browse files
authored
attempt to set up github actions for automatically building libverify
1 parent 0a95a08 commit 252fea8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: create release
2+
on:
3+
push:
4+
branches: [ "master" ]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- run: make
11+
- id: create_release
12+
uses: actions/create-release@v1
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
with:
16+
tag_name: libverify-linux-x86_64
17+
- uses: actions/upload-release-asset@v1
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
with:
21+
upload_url: ${{ steps.create_release.outputs.upload_url }}
22+
asset_path: ./libverify.so
23+
asset_name: libverify-linux-x86_64.so
24+
asset_content_type: application/x-sharedlib

0 commit comments

Comments
 (0)