forked from Radmind/radmind
-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (33 loc) · 888 Bytes
/
macos-pkg.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
name: Build Pkg
on:
workflow_dispatch
jobs:
build-pkg:
strategy:
matrix:
os: [ macos-10.15 ]
name: ${{ matrix.os }} radmind
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Configure
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
brew install openssl
sudo ln -s /usr/local/opt/openssl /usr/local/openssl
fi
sh bootstrap.sh
./configure
- name: make package
run: |
make package
- name: Upload to GitHub Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "../RadmindTools-*.pkg"
file_glob: true
tag: ${{ github.ref }}
overwrite: true
asset_name: RadmindTools.pkg