CHANGE used xcode version to 15.2, used swift version to 5.9 #6
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: Create Release | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
release: | |
runs-on: macos-latest | |
steps: | |
- name: Get current date | |
id: date | |
run: echo "::set-output name=date::$(date +'%Y-%m-%d')" | |
- name: Get current tag | |
id: vars | |
run: echo "::set-output name=tag::${GITHUB_REF#refs/*/}" | |
- name: Release to GitHub | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
draft: true | |
title: "[${{ steps.vars.outputs.tag }}] - ${{ steps.date.outputs.date }}" | |
- name: Release to CocoaPods | |
run: | | |
gem install cocoapods | |
set -eo pipefail | |
pod lib lint --allow-warnings | |
pod trunk push --allow-warnings | |
env: | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} |