Skip to content

CHANGE used xcode version to 15.2, used swift version to 5.9 #6

CHANGE used xcode version to 15.2, used swift version to 5.9

CHANGE used xcode version to 15.2, used swift version to 5.9 #6

Workflow file for this run

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 }}