Skip to content

build: Release v1.0.0-pre.6+v1-schemafix-008 #82

build: Release v1.0.0-pre.6+v1-schemafix-008

build: Release v1.0.0-pre.6+v1-schemafix-008 #82

Workflow file for this run

name: Publish Swift package
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
on:
push:
tags:
- "**"
env:
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTFLAGS: "-D warnings -W unreachable-pub"
RUSTUP_MAX_RETRIES: 10
CARGO_TERM_COLOR: always
CARGO_NET_GIT_FETCH_WITH_CLI: true
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
jobs:
publish-swift:
if: github.repository == 'wireapp/core-crypto'
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: "Setup rust"
uses: dtolnay/rust-toolchain@stable
with:
targets: "aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim"
- name: Setup cargo-make
uses: davidB/rust-cargo-make@v1
- name: Build xcframework
run: |
cd crypto-ffi
cargo make ios-create-xcframework
- name: Upload xcframework
uses: softprops/action-gh-release@v1
with:
files: crypto-ffi/bindings/swift/WireCoreCrypto.xcframework.zip