Publish Release #4
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: Publish Release | |
on: | |
push: | |
tags: | |
- "*.*.*" | |
workflow_dispatch: | |
inputs: | |
tag: | |
description: "Tag to release" | |
required: true | |
jobs: | |
release: | |
name: Publish Release | |
runs-on: macos-latest | |
steps: | |
- name: Prepare macOS | |
run: | | |
defaults write com.apple.dt.Xcode AllowUnsupportedVisionOSHost -bool YES | |
defaults write com.apple.CoreSimulator AllowUnsupportedVisionOSHost -bool YES | |
xcodebuild -downloadPlatform visionOS | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Create XCFramework | |
run: ./scripts/create-xcframework.sh | |
- name: Create GitHub Release | |
uses: marvinpinto/action-automatic-releases@latest | |
with: | |
title: ${{ github.event.inputs.tag }} | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: false | |
files: | | |
TPPDF.sha256 | |
TPPDF.zip |