Skip to content

Commit

Permalink
adding only-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Shchvova committed Jun 6, 2024
1 parent bcffae3 commit 88bf183
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ on:
description: 'Build Year'
required: true
default: '2100'
onlyLatest:
description: "Build only latest version of Xcode templates"
type: 'boolean'
required: false
default: false


env:
Expand All @@ -26,7 +31,6 @@ env:
jobs:
source-code:
name: Check out and process source code
if: "!contains(github.ref, 'refs/tags/') || github.repository == 'coronalabs/corona'"
runs-on: macos-12
steps:
- run: CDR="$(basename "$(pwd)")" ; cd .. ; rm -rf "$CDR" ; mkdir -p "$CDR" ; cd "$CDR"
Expand Down Expand Up @@ -111,6 +115,7 @@ jobs:


Xcode-template-matrix-13:
if: ! github.event.inputs.onlyLatest
strategy:
matrix:
runner:
Expand Down Expand Up @@ -153,6 +158,7 @@ jobs:
path: ./output

Xcode-template-matrix-12:
if: ! github.event.inputs.onlyLatest
strategy:
matrix:
runner:
Expand Down Expand Up @@ -200,6 +206,7 @@ jobs:


Xcode-template-matrix:
if: ! github.event.inputs.onlyLatest
strategy:
matrix:
runner:
Expand Down

0 comments on commit 88bf183

Please sign in to comment.