Skip to content

Commit

Permalink
fix: script phase for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mflknr committed Jun 14, 2024
1 parent 115aceb commit ce4d402
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tuist/ProjectDescriptionHelpers/ScriptPhases.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ extension Project {
.post(
script: """
printenv
if [[ ${USER} == "runner" ]] ; then
if [[ ${USER} != "runner" ]] ; then
make local-lint-swiftlint
else
echo "Skipping SwiftLint build phase on pipeline. Local build phase only."
Expand All @@ -25,7 +25,7 @@ extension Project {
.post(
script: """
printenv
if [[ ${USER} == "runner" ]] ; then
if [[ ${USER} != "runner" ]] ; then
make local-lint-swiftformat
else
echo "Skipping SwiftFormat build phase on pipeline. Local build phase only."
Expand Down

0 comments on commit ce4d402

Please sign in to comment.