Skip to content

Create new release #151

Create new release

Create new release #151

Workflow file for this run

name: Create relase
on:
release:
types: [created]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
test:
name: Run Tests
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Select Xcode 14
run: sudo xcode-select --switch /Applications/Xcode_14.3.app
- name: Test
run: make tests
release:
#needs: [test]
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Select Xcode 14
run: sudo xcode-select --switch /Applications/Xcode_14.3.app
- name: Build XCFrameworks
run: make release
- name: Get the tag version
id: tag_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Update swift binary and recreate tag
run: sh Scripts/uploadBinary.sh $GITHUB_TOKEN ${{ steps.tag_version.outputs.VERSION }}