Skip to content

Commit

Permalink
+github actions build script
Browse files Browse the repository at this point in the history
  • Loading branch information
apotocki committed Mar 13, 2023
1 parent 27ebe3f commit c152105
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build OpenSSL
on:
release:
types: [published]
push:
tags:
- 1.1.1**
workflow_dispatch:
jobs:
Build:
runs-on: macos-latest
timeout-minutes: 120
steps:
- uses: actions/checkout@v3
- name: Build
run: |
scripts/build.sh
for i in frameworks/*.xcframework/; do cd frameworks && zip -9 -r -r "$(basename -- $i).zip" $(basename -- $i) & done; wait
cd frameworks
mv Headers include
zip -9 -r include.zip include
wait
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
frameworks/*.zip

0 comments on commit c152105

Please sign in to comment.