Skip to content

Publish Release

Publish Release #4

Workflow file for this run

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