This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
install.sh: fix version check by using Aplle's official plist parsing… #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow automatically update 'Last updated' in readme.md when installer files are modified | |
name: Update 'Last updated' in readme.md | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
paths: [install.sh, uninstall.sh] | |
jobs: | |
update-last-updated: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: update 'Last updated' in readme.md | |
run: sed -i "/<strong>Last updated:<\/strong> /s|> .*<br>|> $(date +"%d %B %Y")<br>|" readme.md | |
- name: Commit and Push readme.md | |
run: | | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
git add readme.md | |
git commit -m "[github-actions] updated readme.md" | |
git push |