-
-
Notifications
You must be signed in to change notification settings - Fork 126
40 lines (34 loc) · 940 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Publish Release
on:
push:
tags:
- "*.*.*"
workflow_dispatch:
inputs:
tag:
description: "Tag to release"
required: true
jobs:
release:
name: Publish Release
runs-on: macos-15
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Install Dependencies
run: brew install tree
- name: Create XCFramework
run: ./scripts/create-xcframework.sh
- name: Create GitHub Release
uses: marvinpinto/action-automatic-releases@latest
with:
automatic_release_tag: ${{ github.event.inputs.tag }}
title: ${{ github.event.inputs.tag }}
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
archives/TPPDF.zip
archives/TPPDF.sha256