xcframework version 6.0.5 build 600 #19
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: Release | |
on: | |
push: | |
tags: | |
- '\d+\.\d+\.\d+' # Push to versioned tags, i.e. 5.0.11 | |
jobs: | |
release: | |
runs-on: macos-12 | |
steps: | |
- name: Checkout this repo | |
uses: actions/checkout@v2 | |
- name: Set output | |
id: vars | |
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} | |
- name: Archive | |
run: zip -r ROX.xcframework.zip ROX.xcframework ROXCore.xcframework | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ steps.vars.outputs.tag }} | |
release_name: ${{ steps.vars.outputs.tag }} | |
draft: false | |
prerelease: false | |
- name: Upload Release Asset | |
id: upload-release-asset | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: ./ROX.xcframework.zip | |
asset_name: ROX.xcframework.zip | |
asset_content_type: application/zip |