Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .github/actions/create-release/action.yml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/actions/create-universal-binary/action.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/actions/select-xcode/action.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/actions/upload-release-asset/action.yml

This file was deleted.

19 changes: 12 additions & 7 deletions .github/workflows/build-TogglesDemo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,37 @@ on:
branches:
- main

env:
XCODE_VERSION: 16.2.0

jobs:
test:
name: Build
name: Build TogglesDemo
runs-on: macos-15

steps:
- name: Show macOS version
run: sw_vers

- name: Code Checkout
uses: actions/checkout@v4

- name: Select Xcode
uses: ./.github/actions/select-xcode
uses: TogglesPlatform/Pipelines/actions/select-xcode@v1
with:
xcode-version: ${{ env.XCODE_VERSION }}
xcode-version: 16.4.0

- name: Check xcodebuild version
run: xcodebuild -version

- name: Check xcode embedded SDKs
run: xcodebuild -showsdks

- name: Show buildable schemes
working-directory: ./TogglesDemo
run: xcodebuild -list

- name: Show eligible build destinations for TogglesDemo
working-directory: ./TogglesDemo
run: xcodebuild -showdestinations -scheme TogglesDemo

- name: Build for destination TogglesDemo
working-directory: ./TogglesDemo
run: xcodebuild build -scheme TogglesDemo -destination "platform=iOS Simulator,OS=18.2,name=iPhone 16 Pro"
run: xcodebuild build -scheme TogglesDemo -destination "platform=iOS Simulator,OS=18.4,name=iPhone 16 Pro"
56 changes: 4 additions & 52 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,65 +5,17 @@ on:
tags:
- '*'

env:
XCODE_VERSION: 16.2.0

jobs:
publish-release:
name: Publish release ${{ github.ref_name }}
runs-on: macos-15
runs-on: ubuntu-latest

steps:
- name: Show macOS version (${{ env.XCODE_VERSION }})
run: sw_vers
- name: Code Checkout
uses: actions/checkout@v4
- name: Select Xcode
uses: ./.github/actions/select-xcode
with:
xcode-version: ${{ env.XCODE_VERSION }}
- name: Create release
id: create-release
uses: ./.github/actions/create-release
uses: TogglesPlatform/Pipelines/actions/create-release@v1
with:
gh-token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
tag-name: ${{ github.ref_name }}
- name: Create universal binary (ToggleGen)
id: create-universal-binary-ToggleGen
uses: ./.github/actions/create-universal-binary
with:
tool-name: ToggleGen
- name: Upload universal binary (ToggleGen)
uses: ./.github/actions/upload-release-asset
with:
asset-filename: ${{ steps.create-universal-binary-ToggleGen.outputs.zip-filename }}
asset-path: ${{ steps.create-universal-binary-ToggleGen.outputs.zip-path }}
gh-token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
release-id: ${{ steps.create-release.outputs.release-id }}
- name: Create universal binary (ToggleCipher)
id: create-universal-binary-ToggleCipher
uses: ./.github/actions/create-universal-binary
with:
tool-name: ToggleCipher
- name: Upload universal binary (ToggleCipher)
uses: ./.github/actions/upload-release-asset
with:
asset-filename: ${{ steps.create-universal-binary-ToggleCipher.outputs.zip-filename }}
asset-path: ${{ steps.create-universal-binary-ToggleCipher.outputs.zip-path }}
gh-token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
release-id: ${{ steps.create-release.outputs.release-id }}
- name: Create universal binary (JustTweakMigrator)
id: create-universal-binary-JustTweakMigrator
uses: ./.github/actions/create-universal-binary
with:
tool-name: JustTweakMigrator
- name: Upload universal binary (JustTweakMigrator)
uses: ./.github/actions/upload-release-asset
with:
asset-filename: ${{ steps.create-universal-binary-JustTweakMigrator.outputs.zip-filename }}
asset-path: ${{ steps.create-universal-binary-JustTweakMigrator.outputs.zip-path }}
gh-token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
release-id: ${{ steps.create-release.outputs.release-id }}

27 changes: 0 additions & 27 deletions .github/workflows/run-tests-JustTweakMigrator.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/run-tests-ToggleCipher.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/run-tests-ToggleGen.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/run-tests-Toggles.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Run tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
run-tests:
uses: TogglesPlatform/Pipelines/.github/workflows/run-tests.yml@v1
with:
xcode-version: 16.4.0
runner: 'macos-15'
Loading