Create new release #151
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} | |