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 ebe1d21 commit 0810828
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ios-selfhosted-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,25 @@ on:
jobs:
detect_changes:
runs-on: ubuntu-latest
name: Check latest commit
name: Detect changes
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4
- name: Print latest_commit
run: echo ${{ github.sha }}
- id: should_run
continue-on-error: true
name: Check latest commit is less than a day
if: ${{ github.event_name == 'schedule' }}
run: |
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:1:96: Double quote to prevent globbing and word splitting
test -z "$(git rev-list --after='24 hours' ${{ github.sha }})" && echo "should_run=false" >> $GITHUB_ENV
build:

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

View workflow job for this annotation

GitHub Actions / actionlint

job "build" needs job "detect-changes" which does not exist in this workflow
runs-on: self-hosted
timeout-minutes: 30
needs: detect-changes
if: ${{ needs.detect-changes.outputs.should_run != 'false' }}
if: ${{ needs.detect_changes.outputs.should_run != 'false' }}

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

View workflow job for this annotation

GitHub Actions / actionlint

property "detect_changes" is not defined in object type {}

steps:
- name: Checkout
Expand Down

0 comments on commit 0810828

Please sign in to comment.