Skip to content

Commit

Permalink
Update list-installers.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lessuselesss authored Sep 3, 2024
1 parent 6bc9b9c commit d6fddba
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/list-installers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,31 @@ jobs:
run: |
softwareupdate
softwareupdate --list-full-installers
# send-report:
# runs-on: ubuntu-latest
# needs: [list-installers]
# env:
# OUTPUT: ${{needs.list-installers.outputs.list}}
# steps:
# - name: Send Report
# if: github.repository == 'Comp-Labs/Download-macOS'
# uses: dawidd6/action-send-mail@v3
# with:
# server_address: smtp.gmail.com
# server_port: 465
# username: ${{secrets.MAIL_USERNAME}}
# password: ${{secrets.MAIL_PASSWORD}}
# subject: Weekly macOS List Versions Report
# to: complabs28@gmail.com
# from: GitHub Reports <[email protected]>
# secure: true
# body: Logs - ${{env.OUTPUT}}
# reply_to: complabs28@gmail.com
# ignore_cert: true
# convert_markdown: true
# - name: Skipped Job Explanation
# if: github.repository == 'Comp-Labs/Download-macOS'
# run: echo "The 'Send Report' job is skipped because it's running on a forked repository. It can run only on the original repository - Comp-Labs/Download-macOS"
send-report:
runs-on: ubuntu-latest
needs: [list-installers]
env:
OUTPUT: ${{needs.list-installers.outputs.list}}
steps:
- name: Send Report
if: github.repository == 'Comp-Labs/Download-macOS'
uses: dawidd6/action-send-mail@v3
with:
server_address: smtp.gmail.com
server_port: 465
username: ${{secrets.MAIL_USERNAME}}
password: ${{secrets.MAIL_PASSWORD}}
subject: Weekly macOS List Versions Report
to: lessuseless@duckduckgo.com
from: GitHub Reports <[email protected]>
secure: true
body: Logs - ${{env.OUTPUT}}
reply_to: lessuseless@duck.com
ignore_cert: true
convert_markdown: true
- name: Skipped Job Explanation
if: github.repository == 'Comp-Labs/Download-macOS'
run: echo "The 'Send Report' job is skipped because it's running on a forked repository. It can run only on the original repository - Comp-Labs/Download-macOS"
re-run-failed-jobs:
runs-on: ubuntu-latest
needs: [list-installers, send-report]
Expand Down

0 comments on commit d6fddba

Please sign in to comment.