mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
2f1029e7c4
This commit upgrades Github Actions workers to ubuntu-22.04 As part of that change, we (currently) no longer need the backports nor toolchain-r/test PPAs, because ubuntu-22.04 include recent-enough version of QEMU and gcc
24 lines
720 B
YAML
24 lines
720 B
YAML
name: Twitter notifications
|
|
|
|
on: [ push ]
|
|
|
|
jobs:
|
|
notify_twitter:
|
|
runs-on: ubuntu-22.04
|
|
if: always() && github.repository == 'SerenityOS/serenity' && github.ref == 'refs/heads/master'
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: '14'
|
|
- run: npm i twit
|
|
- run: |
|
|
node ${{ github.workspace }}/Meta/tweet-commits.js << 'EOF'
|
|
${{ toJSON(github.event) }}
|
|
EOF
|
|
env:
|
|
CONSUMER_KEY: ${{ secrets.CONSUMER_KEY }}
|
|
CONSUMER_SECRET: ${{ secrets.CONSUMER_SECRET }}
|
|
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
|
ACCESS_TOKEN_SECRET: ${{ secrets.ACCESS_TOKEN_SECRET }}
|