Skip to content

Update release-deploy.yml #3

Update release-deploy.yml

Update release-deploy.yml #3

name: Release Deploy
on:
release:
types: [published]
workflow_dispatch:
inputs:
newVersion:
description: 'New Version'
default: '4.0.0'
required: true
jobs:
updatePackageSwift:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Update Package.swift
- run: ./Scripts/UpdatePackageManifest.bash ${{ github.ref }}
if: github.event_name == "release"
- run: ./Scripts/UpdatePackageManifest.bash ${{ event.inputs.newVersion }}
if: github.event_name == "workflow_dispatch"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5