From c1521053eea43e7ea9d9d7e12ef776a545e53338 Mon Sep 17 00:00:00 2001 From: apotocki Date: Mon, 13 Mar 2023 15:46:24 +0100 Subject: [PATCH] +github actions build script --- .github/workflows/main.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..df5a1ba --- /dev/null +++ b/.github/workflows/main.yml @@ -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