Skip to content

MacOS - Update gir files #166

MacOS - Update gir files

MacOS - Update gir files #166

name: MacOS - Update gir files
on:
workflow_dispatch:
schedule:
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
# * * * * *
- cron: '00 1 * * 5'
jobs:
update:
name: MacOS - Update gir files
runs-on: macos-12
steps:
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Checkout repository
uses: actions/checkout@v3
- name: Install libraries
run: |
brew install libadwaita
brew install gtk4
brew install gtk+3
brew install gstreamer
brew install gst-plugins-base
brew install gst-plugins-good
brew install gobject-introspection
brew install gtksourceview5
- name: Extract gir files
run: python transfer.py /usr/local/share/gir-1.0/ ./macos gir_files.txt
- name: Create pull request
uses: peter-evans/create-pull-request@v4
with:
branch: macos-update-gir-files
commit-message: MacOS - Update gir files
title: MacOS - Update gir files
body: Keep the gir files in sync with current homebrew version
delete-branch: true