This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
Release Thumbprint #122
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 Thumbprint | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: 'Version number for new release (x.x.x)' | |
required: true | |
jobs: | |
release: | |
name: Publish SPM | |
runs-on: macos-14 | |
strategy: | |
matrix: | |
xcode: ["/Applications/Xcode_15.3.app"] | |
steps: | |
- name: 📥 Checkout | |
uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.RELEASE_PERSONAL_ACCESS_TOKEN }} | |
persist-credentials: false | |
- name: 🏷 Create release tag | |
run: sh .github/scripts/tag_release.sh "${{ github.event.inputs.version }}" | |
env: | |
GITHUB_TOKEN: ${{ secrets.RELEASE_PERSONAL_ACCESS_TOKEN }} | |
- name: 🪧 Create GitHub release | |
uses: softprops/action-gh-release@v1 | |
with: | |
tag_name: "${{ github.event.inputs.version }}" | |
env: | |
GITHUB_TOKEN: ${{ secrets.RELEASE_PERSONAL_ACCESS_TOKEN }} |