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 a525fb4 commit ebe1d21
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ios-selfhosted-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,19 @@ jobs:
should_run: ${{ steps.should_run.outputs.should_run }}
steps:
- uses: actions/checkout@v4
- name: print latest_commit
- 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: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=should_run::false"
run: |

Check failure on line 47 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 49 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 == 'true' }}
if: ${{ needs.detect-changes.outputs.should_run != 'false' }}

Check failure on line 53 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 ebe1d21

Please sign in to comment.