Skip to content

Commit c152105

Browse files
committed
+github actions build script
1 parent 27ebe3f commit c152105

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/main.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build OpenSSL
2+
on:
3+
release:
4+
types: [published]
5+
push:
6+
tags:
7+
- 1.1.1**
8+
workflow_dispatch:
9+
jobs:
10+
Build:
11+
runs-on: macos-latest
12+
timeout-minutes: 120
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Build
16+
run: |
17+
scripts/build.sh
18+
for i in frameworks/*.xcframework/; do cd frameworks && zip -9 -r -r "$(basename -- $i).zip" $(basename -- $i) & done; wait
19+
cd frameworks
20+
mv Headers include
21+
zip -9 -r include.zip include
22+
wait
23+
- name: Release
24+
uses: softprops/action-gh-release@v1
25+
if: startsWith(github.ref, 'refs/tags/')
26+
with:
27+
files: |
28+
frameworks/*.zip

0 commit comments

Comments
 (0)