Disable the Generate Sponsors Cronjob on Forks (#2473)

* Compile Winutil

* Only run Sponsor Cron on Main Repo

* Remove winutil from pR

---------

Co-authored-by: Marterich <Marterich@users.noreply.github.com>
This commit is contained in:
Martin Wiethan 2024-07-31 04:14:36 +02:00 committed by GitHub
parent 5ac13f265e
commit 2d185e1919
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,6 +8,7 @@ permissions:
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: (github.event_name == 'schedule' && github.repository == 'ChrisTitusTech/winutil') || (github.event_name != 'schedule')
steps: steps:
- name: Checkout 🛎️ - name: Checkout 🛎️
uses: actions/checkout@v4 uses: actions/checkout@v4