Skip to content

Commit

Permalink
Update ios-selfhosted-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarek41 authored Oct 24, 2024
1 parent 4e763d6 commit ce5da98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ios-selfhosted-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ jobs:
if: ${{ github.event_name == 'schedule' }}
name: Check latest commit is less than a day
run: |

Check failure on line 48 in .github/workflows/ios-selfhosted-build.yml

View workflow job for this annotation

GitHub Actions / actionlint

shellcheck reported issue in this script: SC2086:info:3:30: Double quote to prevent globbing and word splitting
sha=$(git rev-list --after="24 hours" ${{ github.sha }}
if test -z $sha then
echo "should_run=false" >> $GITHUB_OUTPUT
sha=$(git rev-list --after="24 hours" ${{ github.sha }})
if test -z "$sha"; then
echo "should_run=false" >> $GITHUB_ENV
fi
build:
runs-on: self-hosted
Expand Down

0 comments on commit ce5da98

Please sign in to comment.