Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
update path
  • Loading branch information
emawby committed Nov 15, 2023
1 parent e38d83f commit 44e68ee
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: iOS CD

on:
push:
branches:
- 'add_cd'

workflow_dispatch:
inputs:
version:
Expand All @@ -9,6 +13,8 @@ on:
required: true
permissions:
contents: write
env:
version: '5.0.6'

jobs:
build:
Expand All @@ -27,14 +33,14 @@ jobs:

- name: Build Binaries
run: |
chmod +x ./../../iOS_SDK/OneSignalSDK/build_all_frameworks.sh
./../../iOS_SDK/OneSignalSDK/build_all_frameworks.sh
# chmod +x ./../../iOS_SDK/OneSignalSDK/update_swift_package.sh
# ./../../iOS_SDK/OneSignalSDK/update_swift_package.sh
chmod +x ./iOS_SDK/OneSignalSDK/build_all_frameworks.sh
./iOS_SDK/OneSignalSDK/build_all_frameworks.sh
# chmod +x ./iOS_SDK/OneSignalSDK/update_swift_package.sh
# ./iOS_SDK/OneSignalSDK/update_swift_package.sh
shell: bash
- name: Commit Changes
env:
version: ${{ inputs.version }}
version: $version
run: |
git config --local user.email "[email protected]"
git config --local user.name "SyncR 🤖"
Expand All @@ -47,18 +53,18 @@ jobs:
# github_token: ${{ secrets.ACTION_TOKEN_PAT }}
repository: 'OneSignal/OneSignal-iOS-SDK'
force: true
branch: ${{ inputs.version }}
branch: $version

- name: "Submitting PR"
uses: octokit/[email protected]
with:
route: POST /repos/{owner}/{repo}/pulls
owner: OneSignal
repo: OneSignal-iOS-SDK
head: ${{ inputs.version }}
head: $version
base: main
title: |
"Release ${{ inputs.version }}"
"Release $version"
body: |
"Add Release Notes For Review Here"
# env:
Expand Down

0 comments on commit 44e68ee

Please sign in to comment.