Skip to content

Commit

Permalink
ci: re-enable IRC messages
Browse files Browse the repository at this point in the history
  • Loading branch information
genodeftest committed Jul 30, 2023
1 parent e25b8c8 commit a58a8b0
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,26 +76,26 @@ jobs:
--title "Exaile ${version}" \
--notes "${notes}"
# TODO: Waiting for https://github.com/Shizmob/pydle/issues/151
# notify:
# if: always() && github.repository_owner == 'exaile'
# needs: [lint, test, deploy]
# timeout-minutes: 1
# runs-on: ubuntu-latest
# steps:
# - name: Install dependencies
# run: pip3 install pydle
# - name: Send IRC notification
# run: |
# printf '%s | lint %s | test %s | deploy %s | %s' \
# "${GITHUB_REF#refs/*/}" \
# '${{ needs.lint.result }}' \
# '${{ needs.test.result }}' \
# '${{ needs.deploy.result }}' \
# 'http://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}' \
# | python3 -m pydle.utils.irccat \
# --port 6697 \
# --tls --verify-tls \
# --nickname 'exaile-ci' \
# --channel '#exaile' \
# chat.freenode.net
notify:
if: always() && github.repository_owner == 'exaile'
needs: [lint, test, deploy]
timeout-minutes: 1
runs-on: ubuntu-20.04
# As of mid 2023, pydle is not compatible with python 3.10 or later: https://github.com/Shizmob/pydle/issues/162
steps:
- name: Install dependencies
run: pip3 install pydle
- name: Send IRC notification
run: |
printf '%s | lint %s | test %s | deploy %s | %s' \
"${GITHUB_REF#refs/*/}" \
'${{ needs.lint.result }}' \
'${{ needs.test.result }}' \
'${{ needs.deploy.result }}' \
'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}' \
| python3 -m pydle.utils.irccat \
--port 6697 \
--tls --verify-tls \
--nickname 'exaile-ci' \
--channel '#exaile' \
chat.freenode.net

0 comments on commit a58a8b0

Please sign in to comment.