-
Notifications
You must be signed in to change notification settings - Fork 69
53 lines (43 loc) · 1.1 KB
/
Builder.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Builder
on:
push:
branches:
- main
env:
CMAKE_VERSION: 3.5
LLVM_VERSION: 15.0.6
jobs:
delete_latest_release:
runs-on: ubuntu-latest
steps:
- name: checkout master
uses: actions/checkout@master
- name: delete latest release
uses: dev-drprasad/[email protected]
with:
delete_release: true
tag_name: latest
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
macos:
runs-on: macos-latest
needs: delete_latest_release
steps:
- name: checkout dev
uses: actions/checkout@master
- name: compile macos
run: |
bash build.sh
shell: bash
- name: print output
run: |
ls -lha .
- name: update release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.TOKEN }}
tag: latest
body: "A macOS dylib project based on the Dobby Hook framework, aimed at enhancing and extending the functionality of target software."
artifacts: "dylib_dobby_hook.tar.gz"
allowUpdates: true
replacesArtifacts: true